@michaelchann wrote:
I don't want graph objects in my gojs diagram to be able to be dragged past a certain edge of my graph. To achieve that, I've implemented some limits in the node's dragComputation function.
This works nicely, except now, when I multi select and drag, the nodes just kind of squish together and stack up on the edge, when really I want them to keep their relative spacing.
It seems like some combination of the code I have and computeMove is the right thing to do, where computeMove basically calls my dragComputation function for all the parts, and, if any of the proposed locations is different than the returned locations, just don't allow any parts to move.
Is there a simpler way than this, ands there anything to watch out for when reimplementing computeMove?
mc.
Posts: 1
Participants: 1