Skip to content

CanvasEdgeData

An edge

Indexable

[key: string]: any

Properties

color?

optional color: string

The color of this edge


fromEnd?

optional fromEnd: EdgeEnd

The starting edge end; defaults to ‘none’


fromNode

fromNode: string

The node ID and side where this edge starts


fromSide

fromSide: NodeSide


id

id: string

The unique ID for this edge


label?

optional label: string

The text label of this edge, if available


toEnd?

optional toEnd: EdgeEnd

The ending edge end; defaults to ‘arrow’


toNode

toNode: string

The node ID and side where this edge ends


toSide

toSide: NodeSide