Code Monkey home page Code Monkey logo

gojs-alongside-blazor's Introduction

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

gojs-alongside-blazor's People

Contributors

jonchardy avatar rjohnson465 avatar simonsarris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gojs-alongside-blazor's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.