# Reroute

In Reality Hub terminology, rerouting refers to the process of changing and redirecting the flow of connections between nodes. This is done to optimize the layout of the nodegraph, enhance clarity, and facilitate a more organized structure.&#x20;

Rerouting allows you to change the paths of connections without changing the underlying functionality of the nodes themselves.

You can create a Reroute by the following methods:

* Creating Reroute by Node Creation
* Creating Reroute on Nodes Connection

### Creating Reroute by Node Creation

* &#x20;Hoover your mouse over an output or input pin.
* Hold the left mouse button, drag and drop it on an empty space inside the canvas.

<div align="left"><figure><img src="https://content.gitbook.com/content/4U3Lg7WjDb4Pjs4QC0E2/blobs/Ga88KLUtioRASOQjclXd/image.png" alt=""><figcaption><p>Node Creation Menu</p></figcaption></figure></div>

* Click on the **Reroute** button, as shown above.&#x20;

<div align="left"><figure><img src="https://content.gitbook.com/content/4U3Lg7WjDb4Pjs4QC0E2/blobs/C8oeETDOeKwOTjYKdPUF/image.png" alt=""><figcaption><p>Reroute Node</p></figcaption></figure></div>

Your last action creates a reroute. Reroute node will serve exact same functions with the source pin; in our case it is the <mark style="color:green;">**`Output`**</mark> pin of the <mark style="color:yellow;">**`Seven Segment`**</mark> node, as illustrated above.&#x20;

### Creating Reroute on Node Connection

<div align="left"><figure><img src="https://content.gitbook.com/content/4U3Lg7WjDb4Pjs4QC0E2/blobs/dEeZGokHmHWstSuA47HP/image.png" alt=""><figcaption><p>Example Node Network</p></figcaption></figure></div>

The example image above shows a node network.&#x20;

<figure><img src="https://content.gitbook.com/content/4U3Lg7WjDb4Pjs4QC0E2/blobs/K3YF1UpxZMbdg33LsIM8/image.png" alt=""><figcaption><p>Example Node Network with Rerouting</p></figcaption></figure>

To enhance its clarity, you can add a reroute by double clicking on a node connection, then adjust the flow of connections, as illustrated above.

Additionally, you can also add [Node Comment](https://zerodensitydocumentation.gitbook.io/docs/reality-5.3-sp2/reality-5.3-sp2/user-guide/nodegraph-actions/nodegraph/node-comment) to a node for better more fluid node network.&#x20;
