NodeGraphEdge
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:57
Properties
color?
optionalcolor:string
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:80
Override the stroke colour of this edge in its default state. Selected / hovered edges still pick up the theme accents (so the interaction state stays visible), this colour is used only when neither state is active. Useful for type-coloured wires — assign the colour at edge-creation time based on the source pin’s data type, the way UE5 paints exec / float / bool wires differently.
data?
optionaldata:unknown
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:65
Arbitrary consumer payload (e.g. animation flags, weights).
id
id:
string
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:59
Stable identity.
label?
optionallabel:ReactNode
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:71
Optional HTML label rendered absolutely above the edge midpoint.
Use renderEdgeLabel for full control, or pass a node here for the
default centred placement.
source
source:
NodeGraphPortRef
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:61
Edge source endpoint.
target
target:
NodeGraphPortRef
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:63
Edge target endpoint.