Nodes
configurationThe default nodes configuration of the Sankey. The nodes configuration options will be overridden by the data.nodes configuration.
nodes
Objectnodes.align
StringThe alignment of the node. The supported values are:
- "stretch" - The node is aligned to left or right in order to fill the entire width of the Sankey.
- "left" - The node is aligned to the left.
- "right" - The node is aligned to the right.
Default: "stretch"
nodes.focusHighlight
ObjectThe node focus highlight configuration options.
nodes.labels
ObjectThe node labels configuration options.
nodes.offset
ObjectThe offset applied to the node's position.
Default: { top: 0, left: 0 }
nodes.padding
NumberThe minimum vertical space between two nodes.
Default: 16
nodes.width
NumberThe width of the node.
Default: 24