Skip to content

LaidOutSankeyLink

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

A link after layoutSankey has placed it. source/target here are indices into SankeyLayout.nodes, not ids.

source: number

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

Index of the source node within SankeyLayout.nodes.


sy0: number

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

Y offset of this link’s band inside the source node.


target: number

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

Index of the target node within SankeyLayout.nodes.


ty0: number

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

Y offset of this link’s band inside the target node.


value: number

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

Flow magnitude (carried through from the raw link).


width: number

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

Pixel thickness (== source / target band height).