react-digraph icon indicating copy to clipboard operation
react-digraph copied to clipboard

onDrag callback?

Open man-person opened this issue 5 years ago • 2 comments

Het there,

Is there something like an onDrag callback?

Found an afterRenderEdge callback which is called when an edge is being dragged. Is there something similar for a node?

In case there is none, what approach would you recommend to catch the drag event on a particular node?

man-person avatar Oct 21 '20 08:10 man-person

@ajbogh any insight on this one please?

man-person avatar Oct 21 '20 13:10 man-person

Please feel free to create a PR with an onDragEnd callback. We appreciate any support you can offer.

ajbogh avatar Apr 12 '21 19:04 ajbogh