Bypass By Title
The AUN node that turns titles into switches
This node is where the AUN pack's heart lives. The author literally built his first version of it to scratch his own itch - he wanted a boolean toggle that could instantly bypass a node without re-running the whole queue, and asked the subreddit how to do it before just writing his own. Bypass By Title is that idea, matured: instead of typing fragile numeric node IDs, you name the nodes by title, and one switch controls them all.
What it does
You give it one or more node titles, and it flips the bypass state on every node whose title matches. Bypass in ComfyUI means the node is skipped - treated as a pass-through of its inputs - and importantly this happens instantly on the canvas, not after a queue run. Toggle the switch, and the matching nodes grey out right there.
The real trick is that the input is a list, one title per line (newlines, commas, and semicolons all work as separators). So you can group nodes by naming convention and control a whole family at once. Name three upscale nodes "upscale 1/2/3" and one switch controls all of them.
Inputs
titles- multiline string. The one field that matters. Titles separated by newline, comma, or semicolon. You can also use!or-as a prefix for exclusion - e.g.image, !loadmatches nodes titled "image" but not "load". This is a subtitle matching thing: a node titled "image upsale" matches "image".Switch- boolean, labeledActive 🟢/Bypass 🔴. That's it: green means the matched nodes participate, red means they're bypassed. The label_on/label_off text is the pack's standard toggle convention, so you always know what state you're in at a glance.
No outputs. It's a pure controller - it sits on the canvas, does its job, and routes nothing.
How it works
Under the hood it's a good example of how modern ComfyUI custom nodes talk to the frontend. The Python side parses your title list, splits it up, and fires a AUN_set_bypass_by_titles message over the WebSocket. The browser-side JavaScript then walks the graph, finds every node whose title matches, and sets its mode to bypassed or active - recursively, so grouped/subgraph nodes are handled too. Instant, no queue needed, and it works even for nodes you'd otherwise have to hunt through the graph to find.
Why you'd want it over the alternatives
The AUN pack also has Group Bypasser (which selects actual graph groups) and the big Universal Node Controller (which is a beast with 1–20 slots). Bypass By Title is the lightweight middle ground: it doesn't need you to draw groups, and it's a lot less intimidating than the universal controller. If you have a few nodes you toggle constantly, title them consistently and this becomes a single-switch dashboard.
The one thing to keep in mind: it matches by title, so it only works if your nodes actually have recognizable titles. If you've never renamed anything and everything is "KSampler" or "Upscale Image (using Model)", you'll hit a dozen matches at once - which might be exactly what you want, or a mess. Rename deliberately and this node becomes surgical.
Installing
It ships in the AUN ComfyUI Nodes pack, so install the pack once:
cd ComfyUI/custom_nodes
git clone https://github.com/loz2754/AUN-ComfyUI-Nodes
Then restart ComfyUI. Or use ComfyUI Manager and search "AUN". No heavy dependencies for this node - the pack's requirements (piexif, opencv-python-headless, requests) are auto-installed by Manager; if you cloned manually and something's missing, run pip install -r custom_nodes/AUN-ComfyUI-Nodes/requirements.txt.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| titles | STRING | Titles separated by newline, comma, or semicolon. Use '!' or '-' prefix for exclusion (e.g. 'image, !load'). | |
| Switch | BOOLEAN | true | Set to 'Active 🟢' to enable nodes, 'Bypass 🔴' to disable. |
Outputs (0)
No outputs