Creates a new instance of the drag node interaction handler.
The NVL instance to attach the interaction handler to
Internal
callbackInternal
Internal
Internal
Rest
...args: unknown[]Add or update a callback for a given event of type.
The name of the event
The callback to be called when the event is triggered
Interaction handler for dragging nodes, which is achieved by clicking and moving the node. When multiple nodes are selected, they are all dragged.
For examples, head to the Drag Node Interaction documentation page.