I have a group template map, category “Space” which is having layout property, due to the flag isInitial: false I’m not able to see the nodes inside group getting loaded from json.
I’m giving layout to group node template,
layout: this.$(go.TreeLayout, {
alignment: go.TreeLayout.AlignmentStart,
angle: 0,
compaction: go.TreeLayout.CompactionNone,
layerSpacing: 0,
layerSpacingParentOverlap: 1,
nodeIndentPastParent: 1.0,
nodeSpacing: 0,
setsPortSpot: false,
setsChildPortSpot: false,
isInitial: false,
isOngoing: false,
}),
on setting isInitial: true, the nodes inside group appears but on moving the nodes around and reloading diagram rearrange the nodes in treeLayout inside group.
I want too preserver the ability to reload the diagram with new location or position of node.