ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Feature Request: Allow Inputs to Directly Connect to Outputs Within Subgraphs

Open linklight2 opened this issue 2 months ago • 1 comments

Feature Idea

Oftentimes workflows will contain multiple K-Sampler nodes for different stages of sampling. If one wants to use the same sampler + scheduler along multiple different samplers, there is no easy way as of now to change them from one place. This issue, along with many other potential issues, could be solved by allowing an input within a subgraph to connect directly to the output (provided it also connects with a 'defining' input).

Existing Solutions

There is a custom workaround for this, but it is not saved properly when exporting your workflow. This means that others cannot easily use your workflow. A simple workflow where I showcase this feature is included below:

Image Image

Other

No response

linklight2 avatar Dec 05 '25 03:12 linklight2

In fact, your request can already be done easily using Reroute node. See image below, there I did that for input "clip" to pass through directly to output via single Reroute connection.

Image

Dev0Lab1 avatar Dec 18 '25 21:12 Dev0Lab1