Skip to content

LayoutEngineEdge

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

One edge to route. May change in a minor release until pluggable layout engines ship.

from: string;

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

Id of the source node.


id: string;

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

The edge’s graph id, as on GraphEdge.id.


labelSize?: object;

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

Size of the edge’s label box, when it has one, so the engine can leave room for it.

height: number;
width: number;

to: string;

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

Id of the target node.


type: EdgeType;

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

The kind of transition.


visualOnly?: boolean;

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

Drawn, but not used to rank nodes.