AlexeyBoiko / DgrmJS

Dgrm.net - flowchart editor. Works on desktop, phone and tablet. Has no dependency. Pure JavaScript.
https://dgrm.net
Apache License 2.0
906 stars 83 forks source link

When node is dragged directly over the connected one, it jumps to another position #3

Closed aleksandrbazhin closed 2 years ago

aleksandrbazhin commented 2 years ago

How to reproduce:

  1. Create 2 nodes
  2. Connect one to another (maybe optional)
  3. Drag one over another so that outgoing and incoming edge connectors are directly over each other
    • the node being dragged jumps 1000 pixels or so. Tested: latest Firefox Possible cause: division by zero.

I am not going to use the project, just wanted to report the issue randomly.

AlexeyBoiko commented 2 years ago

Thank you for your help, I'll check it asap.