Elegant Simple Reroute
One Tiny Node Between You and the Spaghetti
- value
- value
You know the shape of the problem: one MODEL needs to reach six samplers spread across the canvas, so the wire runs diagonally through three groups like a guitar string. A reroute fixes that. Drop one, bend the wire where you want it, run the rest of the graph off the reroute. It does nothing to the data. That's the entire job, and it's a job you'll do a hundred times in a big workflow.
Elegant Simple Reroute is this pack's spin on it - a bare pass-through with one input, one output, and no widgets. The pack it belongs to is a small, single-author utility set (Elegant Nodes, by wipeer), and this is the node in it you'd install the whole pack for if you only ever used one thing. That's not faint praise: the reroute is the most-used node category in all of ComfyUI's plumbing layer, because readability is the thing every large workflow eventually loses.
How it works - and why that's more interesting than it sounds
On the backend it's about as trivial as a node can be: whatever arrives at value comes out as value. Same object, no copy, no conversion. The engine caches it like any other node, so it costs one cached lookup, not a re-run.
What's not trivial is the type handling. The input and output are declared with the V3 API's match-type mechanism: the output adopts whatever type gets connected. Connect a MODEL and the output is a MODEL - same link colour, same type checks downstream, and a LATENT plugged into a converted image socket still fails validation exactly as it would have without the reroute in the middle.
That distinction matters more than it sounds. ComfyUI also has a * wildcard type, the "accept anything" escape hatch, and a whole category of packages uses it to shove any value anywhere. There's a reason the community pushed back on those - the argument is that type-erasing convenience nodes make a graph impossible to debug, because nothing screams when you wire the wrong thing. A match-type reroute gives you the tidying without that cost. It's a wire, not a hole in the type system.
The other half of the node is pure frontend. Double-click the title and rename it - MODEL_BUS, to_vae, whatever your future self will read faster. Drag the corner handle down and it becomes a small square, with the title clipped to fit. The input has no name at all. The output is labelled with the type coming through (MODEL, LATENT, …) once something is connected and the node is wide enough to show it.
What to wire it into
Anything. One input called value, one output called value, no settings. Practically: fanning a model or a conditioning out to several branches, carrying a wire across a group boundary so it doesn't cross it, and giving a confusing long link a name.
Two habits worth forming. Rename it the moment you place it, not later - an unnamed square tells you nothing six months on. And don't carpet the canvas with them. Each one is a real node in the prompt, not a drawing, so a graph with forty of them is slower to load and no easier to read than the wires you removed.
Installing
ComfyUI Manager: search Elegant Nodes, install, restart, refresh the browser.
Or by hand:
cd ComfyUI/custom_nodes
git clone https://github.com/wipeer/comfyui-elegant-nodes.git
pip install -r comfyui-elegant-nodes/requirements.txt
The only Python dependency is simpleeval, which ComfyUI already has for its Math Expression node. Nothing is downloaded, no model files, no VRAM. The hard requirement is ComfyUI 0.4.0 or newer - the pack is written against the V3 node API, and match types come with it. Older installs fail at import rather than limping along.
If Manager reports it can't find the pack, that's a registry-side hiccup the author documents in the repo's TODO file (the Comfy Registry extraction job stuck at pending), not a broken pack. Clone it instead.
Two things that trip people up
It's not a note. If you were looking for the yellow sticky-comment node, that's core ComfyUI's Note - this is a wire bender that happens to look like a dot.
The 225 px width limit. In ComfyUI's newer Vue nodes view, nodes have a minimum width that can make tiny nodes look wrong. Elegant Simple Reroutes are explicitly exempted, so they're one of the few things you can shrink to a genuinely small square there. If the node resists resizing, you're either on the classic canvas (where you drag the corner handle) or something upstream changed that exemption.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value | COMFY_MATCHTYPE_V3 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value | COMFY_MATCHTYPE_V3 | — |