OnReconnect
The OnReconnect type is a callback function that is called when an existing edge is reconnected to a different node or handle. It receives the old edge and the new connection details.
type OnReconnect<EdgeType extends EdgeBase = EdgeBase> = (
  oldEdge: EdgeType,
  newConnection: Connection,
) => void;| Name | Type | Default | 
|---|---|---|
oldEdge | EdgeType | |
newConnection | Connection | 
Last updated on