PRIME-TU-Delft / graaf

1 stars 0 forks source link

Graph node drag based on mouse location, instead of delta #13

Closed Bluerberry closed 5 months ago

Bluerberry commented 7 months ago

right now, the position of graph nodes while dragging is based on the delta mouse movement, resulting in a lag between the mouse and the node. If I somehow can poll the actual mouse location within the svg, and snap to that, that would be neat.