API REFERENCE

nodeAlign

Where a node without a forward path stands: justify / left / right / center.

Definition

ItemValue
JavaScript propertynodeAlign
HTML attributenode-align
TypeSankeyAlign
Defaultundefined
Allowed valuesleft, right, center, justify

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.

Configuration example

javascript
// Register sy-sankey and create the element before configuring it.
chart.nodeAlign = "justify";