Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 6969

stayInGroup breaks snapToGrid

$
0
0

@andrei wrote:

Hi,
I’m trying to build a diagram that uses the swim lanes example.
I also enabled a 20x20 grid and snap to grid.

If I remove dragComputation: stayInGroup from the node template, the node snaps to grid but now I can drag the node outside the lane.

I also tried using SelectionMoved and mouseDrop on the diagram options but I don’t get the same result. Do you have any solution for that?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6969

Trending Articles