Skip to content

CanvasEdgeData

Defined in: canvas.d.ts:77

An edge

Indexable

[key: string]: any

Properties

color?

optional color: string

Defined in: canvas.d.ts:91

The color of this edge


fromEnd?

optional fromEnd: EdgeEnd

Defined in: canvas.d.ts:84

The starting edge end; defaults to ‘none’


fromNode

fromNode: string

Defined in: canvas.d.ts:81

The node ID and side where this edge starts


fromSide

fromSide: NodeSide

Defined in: canvas.d.ts:82


id

id: string

Defined in: canvas.d.ts:79

The unique ID for this edge


label?

optional label: string

Defined in: canvas.d.ts:93

The text label of this edge, if available


toEnd?

optional toEnd: EdgeEnd

Defined in: canvas.d.ts:89

The ending edge end; defaults to ‘arrow’


toNode

toNode: string

Defined in: canvas.d.ts:86

The node ID and side where this edge ends


toSide

toSide: NodeSide

Defined in: canvas.d.ts:87