Skip to main content

Interface: SankeyNodeInput

Defined in: src/mobjects/graph/sankeyLayout.ts:9

A node in a SankeyDiagram.

layer fixes the column (0 = left-most for a horizontal diagram). When it is omitted for every node, the layout derives columns from the link direction.

Properties​

color?​

optional color: string

Defined in: src/mobjects/graph/sankeyLayout.ts:17

Optional CSS color for the node (and, by default, its outgoing links).


id​

id: string

Defined in: src/mobjects/graph/sankeyLayout.ts:11

Unique node identifier, referenced by links.


label?​

optional label: string

Defined in: src/mobjects/graph/sankeyLayout.ts:13

Optional display label. Falls back to id when labels are shown.


layer?​

optional layer: number

Defined in: src/mobjects/graph/sankeyLayout.ts:15

Optional explicit column index.