|
Portion of diagram object
c.ShapeNode allowFlip:false allowIncomingLinks:true allowOutgoingLinks:true anchorPattern:c.AnchorPattern {points: Array(3), regIndex: -1, serverRegistered: false} anchorPointVisuals:[indexOf: ƒ, remove: ƒ, contains: ƒ, any: ƒ, all: ƒ, …] bounds:mdraw.Rect {x: 30.862499999999997, y: 18.427083333333332, width: 24, height: 24, transform: M…n.D…g.Matrix, …} brush:undefined enabledHandles:511 expandable:false expanded:true flipX:false flipY:false font:null graphicsContainer:mdraw.Container {x: 0, y: 0, content: Array(2), invalidParent: null, zIndex: 0, …} handlesSize:undefined handlesStyle:1 hyperLink:"" id:0 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
var tempJson = diagram.toJson()
running the above code on the diagram object produces the following output (just showing the relevant section). The id which was 0 in the diagram object is now null in the JSON string.
"items":[{"__type":"MindFusion.Diagramming.ShapeNode","instanceId":0,"zIndex":0, "tag":null,"id":null,"text":"Start",
Tried 3.0.1 and 3.2. Both failed to save the id.
|