Node spawn point

I’m setting up a graph that adds or removes some additional nodes based on what is currently selected (if it was available all at once it would be completely unreadable). However, when new nodes are added to diagram they spawn in top left part of the diagram and then are animated to their proper position. is there a way to control where the nodes spawn?

Yes, give them initial locations. I’m assuming the automatic layout (your Diagram.layout) will position them correctly.

If you do not assign a location then it assumes (0,0). The Incremental Tree sample, http://gojs.net/latest/samples/incrementalTree.html, demonstrates this. Look at the createSubTree function.