Nodes/TGu Utilities/MPN Reroute
ComfyUI Node

MPN Reroute

The nothing-node that keeps your model+prompt cables tidy

By Tigerisu·Created 3 years ago·Updated 2 years ago· 1
MPN Reroute
  • model
  • positive
  • negative
  • model
  • positive
  • negative

MPN Reroute is the rare custom node that proudly does nothing. It takes three connections in and hands the same three connections straight back out. That's not a bug - it's the entire job. It's a reroute sized for ComfyUI's most common wiring bundle - the model, positive conditioning and negative conditioning that feed a sampler - so you can drag all three across the canvas as one unit instead of three tangled cables.

"MPN" is Model-Positive-Negative. Almost every generation flows through exactly that triple: a CheckpointLoaderSimple (or a LoRA-stacked model line) produces MODEL, two CLIPTextEncode nodes produce positive and negative CONDITIONING, and a KSampler eats all three. On a big graph those wires have to cross a lot of empty space, and long cables become unreadable spaghetti. This node is where the triple rejoins at a single movable point - the same trick rgthree's Reroute nodes do for single wires, but built for the whole sampling bundle.

How it works

Nothing is computed. model in → model out, positive in → positive out, negative in → negative out, each keeping its type. You can't corrupt anything with it, because the data never passes through a transformation - which also means it can't fix anything either. It exists purely so a workflow that's too big to read stays something you can still work in.

The inputs that matter

That's the whole list, one to one:

  • model (MODEL) - the model output you'd otherwise wire straight into the sampler.
  • positive (CONDITIONING) - your prompt conditioning, usually from CLIPTextEncode.
  • negative (CONDITIONING) - your negative-prompt conditioning.

Outputs: the same three, same order. Wire them into your KSampler and the graph behaves identically. If you don't need to reposition wires, you don't need this node - but when the alternative is one 3,000-pixel cable draped over half your nodes, you'll take it.

Installing it

From ComfyUI Manager, hit Install Custom Nodes, search TGu Utilities (or just "TGu"), install, restart. No pip dependencies, no model downloads - it's pure graph plumbing, so it's safe and works offline. Alternatively:

cd ComfyUI/custom_nodes
git clone https://github.com/TGu-97/ComfyUI-TGu-utils

Then restart ComfyUI. It shows up in the TGu_util category.

Troubleshooting

  • Nothing visibly happens when you add it. Correct - that's the feature. Check it by moving it around; the point is layout.
  • You see a mismatch warning. You plugged a MODEL into a CONDITIONING slot. The types are honest, so it'll refuse, which is the point - this is the "reroute that keeps types straight" camp of graph hygiene, not the anything-anywhere school that the community has pushed back on for making graphs undebuggable.
  • It feels unmaintained. It is. The pack's README documents a single LoRA Switch node and nothing else, and the GitHub repo is currently unreachable, so don't expect updates or a changelog. For a node this simple, that barely matters - it does one thing, and it does it.
CategoryTGu_util

Inputs (3)

NameTypeDefaultDescription
modelMODEL
positiveCONDITIONING
negativeCONDITIONING

Outputs (3)

NameTypeDescription
modelMODEL
positiveCONDITIONING
negativeCONDITIONING