# Reroute

<figure><img src="/files/rTVDMFb1JTPVawEpO1Oo" alt=""><figcaption></figcaption></figure>

Node Name: Reroute Node Node Purpose: Mainly used to organize the logic of overly long connection lines in the ComfyUI workflow.

## How to Use Reroute Nodes <a href="#how-to-use-reroute-nodes" id="how-to-use-reroute-nodes"></a>

<figure><img src="/files/gwLWnKDwuQWsGIZnKxwh" alt=""><figcaption></figcaption></figure>

| Menu Options         | Description                                   |
| -------------------- | --------------------------------------------- |
| Show Type            | Display the node’s type property              |
| Hide Type By Default | Hide the node’s type property by default      |
| Set Vertical         | Set the node’s wiring direction to vertical   |
| Set Horizontal       | Set the node’s wiring direction to horizontal |

When your wiring logic is too long and complex, and you want to tidy up the interface, you can insert a `Reroute` node between two connection points. The input and output of this node are not type-restricted, and the default style is horizontal. You can change the wiring direction to vertical through the right-click menu.


---

# 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://docs.seaart.ai/seaart-comfyui-wiki/core-nodes/utils/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.
