OnReconnectStart
The OnReconnectStart type is a callback function that is called when reconnecting an existing edge. It receives the mouse or touch event, the edge being reconnected, and the type of handle being used.
type OnReconnectStart<EdgeType extends EdgeBase = EdgeBase> = (
  event: MouseEvent | TouchEvent,
  edge: EdgeType,
  handleType: HandleType,
) => void;| Name | Type | Default | 
|---|---|---|
event | MouseEvent | TouchEvent | |
edge | EdgeType | |
handleType | 'source' | 'target' | 
Last updated on