Constructing a Diagram with GoJS creates an HTML5 Canvas element to be placed inside the given DIV element.
Start working with GoJS, you need to declare the library in the HTML document. With that, you need to load the library too. Load the GoJS library go.js.
To add, link to the GoJS library, which you can get from CDNJS. Also, if you want, you can download GoJS Library.
Here’s how you can add it with CDNJS −
Note: Load go-debug.js when developing for run-time error checking. When deploying, go for “go.js”.