Skip to content

LaidOutSankeyNode

Defined in: perf/layout/sankey.ts:32

A node after layoutSankey has placed it. Adds column index, pixel rectangle, and the in/out flow totals derived from the links.

col: number

Defined in: perf/layout/sankey.ts:40

Column index (0 = first source, max = last sink).


optional color?: string

Defined in: perf/layout/sankey.ts:38

Optional explicit fill — falls back to the theme palette.


h: number

Defined in: perf/layout/sankey.ts:48

Pixel rect — height.


id: string

Defined in: perf/layout/sankey.ts:34

Original node id.


label: string

Defined in: perf/layout/sankey.ts:36

Display label (defaults to id when not provided).


valueIn: number

Defined in: perf/layout/sankey.ts:50

Sum of incoming flow values.


valueOut: number

Defined in: perf/layout/sankey.ts:52

Sum of outgoing flow values.


w: number

Defined in: perf/layout/sankey.ts:46

Pixel rect — width.


x: number

Defined in: perf/layout/sankey.ts:42

Pixel rect — top-left x.


y: number

Defined in: perf/layout/sankey.ts:44

Pixel rect — top-left y.