Skip to content

RawSankeyLink

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

Edge in a raw Sankey graph passed to layoutSankey. source and target are node ids (not indices) for ergonomics; the layout algorithm builds its own index internally.

source: string

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

Node id the flow leaves from.


target: string

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

Node id the flow arrives at.


value: number

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

Flow magnitude. Bands and link thickness scale with this.