Nodes/trNodes/trRouter
ComfyUI Node

trRouter

A five-socket pass-through so your model plumbing stops crossing the canvas

By trojblue·Created 3 years ago·Updated 2 years ago· 8
trRouter
  • model
  • clip
  • vae
  • conditioning1
  • conditioning2
  • MODEL
  • CLIP
  • VAE
  • CONDITIONING
  • CONDITIONING

Once your workflow passes a certain size, the cables become the problem. A model, a CLIP, a VAE and two conditionings all need to travel from the checkpoint loader to wherever the sampling actually happens, and that's five wires snaking across a canvas that's already a mess. trRouter bundles them: one node with the five inputs on one side and the same five outputs on the other, so a section of graph that needs the whole "model plumbing" can grab it from a single tidy cluster.

The readme calls it a "batch reroute" - that's exactly what it is. It doesn't load a model, doesn't compute anything, doesn't have any settings. It's a pass-through: what goes in comes out, in the same order. That's the entire job, and it does it fine.

How it works

The mechanism is the point, in a good way: the node's execute just returns its inputs unchanged. Nothing is loaded, converted, or even looked at beyond a debug print to the console. All five inputs are optional, so you can wire in only the sockets you actually need - hook up just model and clip and the rest simply pass through as empty.

That all-optional design is the one thing worth remembering: it's not a strict router that errors if you miss a socket. It's a cable organizer that tolerates partial connections.

The inputs and outputs

Every input is optional: model (MODEL), clip (CLIP), vae (VAE), conditioning1 and conditioning2 (both CONDITIONING).

The outputs mirror them exactly, in the same order - so output 1 is the model, output 2 the CLIP, and so on. Wire the upstream side to your checkpoint loader and text encoders, then draw the five downstream cables once. Downstream nodes that need the pair of conditionings (positive/negative) find them side by side, which reads way better than two cables crossing the whole canvas.

Installing it

Same as the rest of trNodes - small repo, no model downloads:

cd ComfyUI/custom_nodes
git clone https://github.com/trojblue/trNodes

then restart ComfyUI. This node needs no Python packages at all, so you can skip the pip step entirely if you only want the routers. ComfyUI Manager (search "trNodes") also works and will clone the repo for you.

The honest take

Works as advertised, and it's genuinely harmless. But you should know the alternatives, because they're stronger: ComfyUI already ships a plain Reroute node for tidying individual cables, and if you want a bundle in one wire, rgthree's Context node is the version people actually install - it collapses the whole bundle into a single connection that plugs into stock nodes. If you already run rgthree (and most big-workflow people do), you don't need this.

So: grab trRouter if you want zero dependencies and like the explicit five-socket layout. Don't pretend it does anything a reroute or a Context node doesn't - its only superpower is that it's already in the pack when you installed trNodes for the color or layering nodes anyway.

CategorytrNodes

Inputs (5)

NameTypeDefaultDescription
modeloptMODEL
clipoptCLIP
vaeoptVAE
conditioning1optCONDITIONING
conditioning2optCONDITIONING

Outputs (5)

NameTypeDescription
MODELMODEL
CLIPCLIP
VAEVAE
CONDITIONINGCONDITIONING
CONDITIONINGCONDITIONING