API REFERENCE
nodeAlign
Where a node without a forward path stands: justify / left / right / center.
Definition
| Item | Value |
|---|---|
| JavaScript property | nodeAlign |
| HTML attribute | node-align |
| Type | SankeyAlign |
| Default | undefined |
| Allowed values | left, right, center, justify |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- SankeyAlign
Type definition
Configuration example
// Register sy-sankey and create the element before configuring it.
chart.nodeAlign = "justify";