Avoid dragging one group into another. Only nodes

Hi, everybody. I have a problem, I want to avoid dragging one group into another and only the nodes within each individual group can be moved. Try modifying the mouseDragLeave in the definition of the groups, besides having set the movable and the groupable to false. Thanks in advance.

Here I give the definition of my group.

Screenshot_11

You could make the groups not movable or copyable. But more generally, you can implement a group validation predicate: GoJS Validation -- Northwoods Software

An example is Planogram

Thanks! The planogram example worked for me.