Skip to content

grafit-charts


Interface: FlowNodeStylerParams ​

What the node styler of a sankey or a chord is handed: a node is known by its name — its place in the palette depends on the layout, which is the series' business — and by what flows through it.

Properties ​

depth? ​

optional depth?: number

Column of a sankey node, 0 for the sources; a chord has no columns.


fill ​

fill: string

The color the node would have without the styler — from fills or the palette.


name ​

name: string

Node name.


share ​

share: number

Share of the whole, 0..1: of its column for a sankey node, of the ring for a chord one.


total ​

total: number

What flows through the node.