@rendezvous wrote:
I’m completely new to go.js and I’m trying to convert the Basic diagram into a JSON file:
var modelAsText=myDiagram.model.toJson();
However when I do I get this error:
GraphObject.make requires a class function or GoJS class name or name of an object builder, not: [object HTMLDocument]I’m using go.js 2.0.11 “https://cdnjs.cloudflare.com/ajax/libs/gojs/2.0.11/go.js”
Posts: 5
Participants: 3