Closed mdneyazahmad closed 2 years ago
Thanks @tisoap for your work. There are many developer who wanted this feature in the library. It will surely help them.
Hey @mdneyazahmad ! Not updating the edge during drag was a deliberate choice because path finding is an expensive operation, and it fires for every smart edge on the graph. Doing it so during drag can cause lag/freeze on large graphs or less powerful devices
Could we debounce? @tisoap
De-bouncing is what is making the Edge not update while dragging. If you click and drag but don't drop or move the mouse cursor for 200ms you'll see it update. I might expose the debounce time so developers can set it at their own discretion
@mdneyazahmad There's now a way to configure debounce options
The edge is not updated while dragging the node. It only updates when you release the node.