Using mxGraph version 1.10.1.1
The graph contains a group and a vertex outside the group. Based on an attribute of the vertex how would I go about preventing users from dragging this node into the group?
Listening to mxEvent.CELLS_MOVED doesn't seem to help because the event doesn't get applied to the graph and the target cell does not have the parent group info yet. Unless the event is consumed I suppose.
Is there a simple way to prevent the move from completing or is there a way to roll back the transaction after a condition is met?