Skip to content

LayoutEngineEdgeRoute

Defined in: src/layout/engine.ts:120

How an edge is drawn. May change in a minor release until pluggable layout engines ship.

id: string;

Defined in: src/layout/engine.ts:122

The input edge’s id.


labelPosition?: object;

Defined in: src/layout/engine.ts:124

Centre of the space reserved for the edge’s label, when it has one.

x: number;
y: number;

points: object[];

Defined in: src/layout/engine.ts:126

The polyline the edge follows, from source to target.

x: number;
y: number;