Skip to main content

Interface: SankeyLayoutOptions

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

Tunable sizes used by computeSankeyLayout.

Properties​

height​

height: number

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

Target length of the tallest column (sum of its node lengths).


layerSpacing​

layerSpacing: number

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

Distance between adjacent column centers.


minNodeLength​

minNodeLength: number

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

Minimum node length along the stacking axis.


nodePadding​

nodePadding: number

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

Gap between stacked nodes in one column.


nodeWidth​

nodeWidth: number

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

Node thickness along the flow axis.