Comfy-Org / Comfy-Org/ComfyUI

[Feature Request] Rejoin - Remove Reroute but keep the node joins

Open
#1,307 0 comments 0 reactions 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

In the following diagram, (1) shows an example graph where blue and yellow are reroutes, and the start and ends can be nodes or reroutes too.

When deleting the blue reroute, the joins disappear as in (2). This means I have to pull a connection again from the black to the yellow node, but it could be difficult if there are far away off the screen. Alternatively, I can first pull a connection from black to yellow, which will leave the blue reroute without an outgoing connection (3), and then I will delete the blue reroute. Both takes 2 steps.

What would be an ideal behaviour is to rejoin the connection either automatically when the reroute is removed, or have an option in the right-click menu to 'Rejoin'. If from (1), I delete the blue reroute, the black node should keep its next connection to the yellow now (4). Similarly, if I delete the yellow node from (1), the blue node should keep both the previous outgoing connections (5). Either would take 1 step and would be a great help when cleaning up excessive reroutes.

![image1](https://github.com/comfyanonymous/ComfyUI/assets/110883900/5b430e74-2f0a-4ea6-adf0-60ffb29c8482)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.