By Northwoods Software for GoJS 2.1
This project provides a basic example of using GoJS in an Angular app. Check out the Intro page on using GoJS with Angular for more information.
It makes use of the gojs-angular package to handle some boilerplate for setting up Diagram, Palette and Overview components.
When running the sample, try moving around nodes, adding / deleting nodes, editing text in the inspector, relinking, undoing (Ctrl-Z), etc. within the diagram and you'll notice the changes are reflected in app-level data. You'll also notice that changes made in the inspector are reflected in the diagram.
Start by running npm install to install all necessary dependencies.
In the project directory, run:
Runs the app in the development mode.
Open http://localhost:4200 to view it in the browser.
The page will reload if you make edits.
To learn Angular, check out the Angular's official site. To learn GoJS, check out gojs.net.