hi, I have my nodes in the palette and I can drag them in the diagram, but I want you to be able to restrict them to only belonging to the group they have assigned, I can now freely leave it for the diagram. Any idea how to fix it?
Normally that is implemented using a custom Node.dragComputation function. See for example that shown at DraggingTool | GoJS API or in the SwimLanes samples.
1 Like