# Arrange nodes

::references
  :::ref-guide{link="/docs/guides/arrange" title="Guide"}
  :::

  :::ref-example{link="/examples/sankey" title="Sankey diagram"}
  :::

  :::ref-external{link="https://github.com/kieler/elkjs" title="Elk.js"}
  :::
::

Automated node arrangement, or commonly referred to as layouting, enables the positioning of nodes in relation to each other, considering their connections. This is achieved through a specialized plugin that utilizes [elk.js](https://github.com/kieler/elkjs){rel="nofollow"} to calculate node positions.

Additionally, it offers extensive customization capabilities, allowing users to configure node placement through various options and an applier to assign the calculated positions to nodes (e.g incorporating animations).

::kit
::

::example{#rete-js-v2-arrange-layout-nodes-ri75lp module="/src/editor.ts"}
::