This project privides a basic example of using GoJS in an Angular app.
When running the sample, click on a Node. An Inspector window appears. Changing values in the Inspector will update the Nodes. This is done through a top down application struture, where the top level App Component passes data to the Diagram and Inspector Components.
Start by running npm install to install all necessary dependencies.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
For more on GoJS, head to the GoJS Website.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.