Usage
Sankey data points define directed flows between named nodes.
{ from: 'Coal', to: 'Electricity', flow: 42}Common Dataset Options
Section titled “Common Dataset Options”| Option | Description |
|---|---|
colorFrom | Scriptable color for the source node side. |
colorTo | Scriptable color for the target node side. |
colorMode | Flow coloring mode: gradient, from, or to. |
labels | Optional display labels by node key. |
priority | Optional ordering priority by node key. |
column | Optional column assignment by node key. |
nodeWidth | Node rectangle width in pixels. |
nodePadding | Vertical padding between nodes. |
size | Node size strategy: min or max. |