Skip to content

NorthwoodsSoftware/GoJS-Alongside-Blazor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoJS-Alongside-Blazor

This sample project shows how to integrate GoJS in a Blazor project.

The project contains GoJSBlazor.sln for Visual Studio and a launch.json for VS Code.

GoJS is used in Index.razor.cs, with the Diagram div in Index.razor. GoJS is initialized from the Blazor lifecycle method OnAfterRender. All GoJS JavaScript code is stored in the wwwroot/js folder, in gojs-scripts.js.

There are two buttons on Index.razor that demonstrate saving and loading the diagram, via JS Interop.

GoDiagram

This project uses GoJS, and all GoJS code must be written in JavaScript or TypeScript. If you wish to only author diagrams in C#, and to use static images in your Blazor app, it is possible to use GoDiagram instead. GoDiagram is a C# library based on the GoJS API for WinForms and headless C# environments.

Support

Northwoods Software offers a month of free developer-to-developer support for GoJS to help you get started on your project.

Read and search the official GoJS forum for any topics related to your questions.

Posting in the forum is the fastest and most effective way of obtaining support for any GoJS related inquiries. Please register for support at Northwoods Software's registration form before posting in the forum.

For any nontechnical questions about GoJS, such as about sales or licensing, please visit Northwoods Software's contact form.

License

The GoJS software license.

Copyright (c) Northwoods Software Corporation

About

A sample showing how to integrate GoJS in a Blazor project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published