ComfyUI Node

List Reroute

A tidy pass-through for LIST wires

By DemonAlone·Created 7 months ago·Updated 22 days ago· 3
List Reroute
  • input_list
  • LIST

List Reroute does the least interesting thing a node can do: it takes a LIST in, and hands the exact same LIST back out, unchanged. There's no filtering, no sorting, no transform. Its entire job is to exist as a labeled waypoint on a wire so your graph doesn't turn into an unreadable spaghetti of long diagonal connections crossing the whole canvas.

Why you'd want a passthrough at all

This pack was built around list-heavy pipelines - DemonAlone's own README describes it as originally crafted for XYZ-plot workflows, the kind where you're sweeping a checkpoint, a sampler, and a CFG value across a grid and collecting results. Those graphs accumulate a lot of LIST wires: model name lists from something like Dynamic Checkpoint Selector, sampler lists, combined lists from List Combiner. Once you've got three or four of those crossing a busy canvas, a plain reroute node placed at a bend gives you a clean corner to route around, and a place to drop a note or a color group without touching the actual producing or consuming node.

It's also handy as a stable connection point when you're still deciding what feeds a list-consuming node - wire the reroute in first, park it, and swap what's upstream of it without re-routing the downstream side.

The input and output

  • input_list (LIST, required) - whatever list you're passing through.
  • Output is a single LIST - identical to what came in.

One thing worth flagging since it trips people up who are used to ComfyUI's native list-batching behavior (the kind where a node marked to output a list causes everything downstream to auto-execute once per item): this pack's LIST type doesn't do that. It's a plain custom type carrying a Python list as one value, the same way VAEGeneratorNode and ModelGeneratorNode in this pack build and hand off lists. Rerouting it doesn't split it into separate runs - it's still one wire, one value, all the way through.

How to install it

ComfyUI Manager: search DemonAlone-nodes-ComfyUI, install, restart. Or by hand:

cd ComfyUI/custom_nodes
git clone https://github.com/DemonAlone/DemonAlone-nodes-ComfyUI

then restart. No extra dependencies, no models - it's a pure graph-organization utility, and it comes bundled with every other node in the pack.

Common issues & troubleshooting

The socket won't connect. LIST here is a custom type name, not ComfyUI's generic Python list. It'll only connect to sockets that are also explicitly typed LIST - typically other nodes from this same pack (List Combiner, Count List, the two generator nodes). It won't accept, say, a STRING list from an unrelated pack unless that pack also happens to use the identical type name.

Nothing downstream changed, is that a bug? No - that's the whole point of a reroute. If your output looks wrong, the problem is upstream of this node, not in it; trace back to whatever's actually building the list.

Do I need this? Never functionally. It's pure canvas hygiene. If your graph is small or you don't mind long wires, skip it - nothing else in this pack depends on a reroute being present.

Categoryutils

Inputs (1)

NameTypeDefaultDescription
input_listLIST

Outputs (1)

NameTypeDescription
LISTLIST