# 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="/files/R7twhHzciQPvKRdIjj3U" 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="/files/aTmdQcSmQlR1aPyGDFOd" 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="/files/KzulAnQAULTtnwCMLQhX" alt=""><figcaption><p>Example Node Network</p></figcaption></figure></div>

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

<figure><img src="/files/s3cH06EgRwiFAOaDQPrh" 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](/docs/reality-5.3-sp2/reality-5.3-sp2/user-guide/nodegraph-actions/nodegraph/node-comment.md) to a node for better more fluid node network.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zerodensitydocumentation.gitbook.io/docs/reality-5.3-sp2/reality-5.3-sp2/user-guide/nodegraph-actions/nodegraph/reroute.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
