How to prevent automatic layout after the first layout?

Hi, I use force directed layout for my diagram, when I select one node or move one node,my diagram will be layout automatically.this make it seems messy.Is there any method to prevent automatic layout after the first layout, and location for all nodes fixed(except the node I moved)?thank you very much.

Your node must be changing size when selected.

The easiest would be to set Layout.isOngoing to false, or to set Node.layoutConditions to a flag combination that does not include go.Part.LayoutNodeSized. GoJS Layouts -- Northwoods Software