EdgeDrawnEvent
Event payload emitted when a user manually draws an edge between two nodes. This event only fires for user-initiated edge creation through the UI, not for programmatically added edges.
Properties
Section titled “Properties”edge:
Edge
The newly created edge object
source
Section titled “source”source:
Node
The source node from which the edge originates
sourcePort?
Section titled “sourcePort?”
optional
sourcePort:string
Source port identifier if connected to a specific port
target
Section titled “target”target:
Node
The target node to which the edge connects
targetPort?
Section titled “targetPort?”
optional
targetPort:string
Target port identifier if connected to a specific port