Don't allow node to be dropped above some nodes

I’m hoping from the screenshot that it will make sense. I have a diagram that is similar to the Kanban example. In the screenshot, you can see that there are two nodes with text “New Trigger” & “New Field” There are 3 other nodes in the swimlane that I am able to move around. What I want is to be able to force them to always be below the first two. I have made it so the first two cannot be moved however I cannot stop other nodes being positioned above and between them.

13

You could set https://gojs.net/latest/api/symbols/Part.html#minLocation on those nodes.

You probably want to set it in a https://gojs.net/latest/api/symbols/Part.html#containingGroupChanged event handler, so that the minimum Y value is correct in each group.

Thanks Walter, I will try these.