freegroup / draw2d

Create Visio like drawings, diagrams or workflows with JavaScript and HTML5
https://freegroup.github.io/draw2d/#/examples
MIT License
734 stars 226 forks source link

Selecting multiple, move, then move one item causes crash #238

Open 28raining opened 1 year ago

28raining commented 1 year ago

I attach a video of the failure.

If you would like to reproduce, get my project as mentioned in https://github.com/freegroup/draw2d/issues/237 and uncomment SingleSelectionPolicy inside circuitSolver\modules\wdk_draw2d.js (my hacky solution)

screen-capture (1).webm

Note is this because connections are not snapped to the grid? I would be OK if the solution was to add a policy so connections are snapped to grid.