# nodeAlign

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

Canonical: https://chart.syidax.com/docs/options/nodeAlign/

<a id="definition"></a>

## 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](https://chart.syidax.com/docs/types/SankeyAlign.md) — Type definition

<a id="example"></a>

## Configuration example

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

- [Sankey · Complete examples and API](https://chart.syidax.com/docs/components/sankey.md)

<a id="related"></a>

## Related documentation

A property with the same name may have different types and defaults across charts. When using a direct tag, follow that chart's documentation below.

- [Shared facade and direct tags](https://chart.syidax.com/docs/concepts.md)
- [sy-sankey](https://chart.syidax.com/docs/components/sankey.md#property-nodeAlign)
