How to Stop auto Arranging nodes after drag & drop?

I am using

myDiagram =
$(go.Diagram, “myDiagramDiv”, {
“grid.visible”: true,
“allowDrop”: true,
“undoManager.isEnabled”: true,
hoverDelay: 1,
layout: $(go.LayeredDigraphLayout)
});

When I drag & drop a component the diagram is auto arranging positions in diagram.

How to Stop auto Rearranging nodes after drag & drop?

Set Layout.isOngoing to false.

More discussion is at GoJS Layouts -- Northwoods Software

1 Like

Link are not connected with exact ports.

Did you set up ports with portId and does the model have the port data?

I got the point.
Thanks a lot.