doubleTree how to Asynchronous loading child node

var G = go.GraphObject.make;
this.diagram =
G(go.Diagram, $(’#diagramDiv’)[0],
initialContentAlignment: go.Spot.Center,
initialDocumentSpot: go.Spot.Center,
initialViewportSpot: go.Spot.Center,
“toolManager.mouseWheelBehavior”: go.ToolManager.WheelZoom,
validCycle: go.Diagram.CycleSourceTree


{ alignment: go.Spot.Center,visible:false},
new go.Binding(‘visible’,‘isAdd’,function(data){return data?true:false})

this.diagram.model = new go.TreeModel(this.jsondata[“nodes”]);

I get the data by setting the ‘SubGraphExpanderButton1’ click event

But it doesn’t display properly
The new node cannot be displayed in the correct location

Sorry, this is not a problem because I have a problem with my data structure

Don’ forget to execute all state-modifying code within a transaction. In this case, you should just move the call to startTransaction a couple lines earlier.

Ok, thank you