2🐕Unrestricted switching
An any-type switch that picks whatever's actually plugged in
- input01
- input02
- input03
- input04
- input05
- input06
- output
You've got a workflow with two or three possible sources for the same value - maybe a LoRA output or a raw checkpoint output, an uploaded image or a generated one - and you don't want a KSampler-style graph with a dozen redundant wires depending on which path is active. EG_WXZ_QH ("Unrestricted switching") is the auto-pick version of a switch: no index to set, it just passes through whatever's connected.
How it works
The node exposes six optional inputs of type * - meaning any ComfyUI type at all, IMAGE, MODEL, STRING, LATENT, whatever - and a single * output. This is the same family of node as rgthree-comfy's "Any Switch," which resolves by evaluating its inputs in order and passing through the first one that's actually connected and non-empty. That's the behavior to expect here too: wire your fallback candidates into input01 through input06 in priority order, leave the rest disconnected, and the node forwards whichever one is live. It's a fallback chain, not a toggle - if you want to explicitly pick input 3 regardless of what else is wired, that's a different node in this pack (EG_XZ_QH, "Choice Switch," which adds an index dropdown).
The inputs and outputs that matter
There's nothing to configure - the whole node is the six input0N slots and the one output slot. The only decision you make is wiring order: whichever input you connect first (lowest number) wins if more than one branch happens to be active at once. Because the type is wildcard, ComfyUI won't stop you from mixing types across the six inputs, but only do that deliberately (e.g. "give me whichever of these two IMAGE sources exists") - feeding it unrelated types on the same graph invites a downstream node choking on whatever type actually arrives.
How to install it
Search Comfyui-ergouzi-Nodes in ComfyUI Manager, or:
cd ComfyUI/custom_nodes
git clone https://github.com/11dogzi/Comfyui-ergouzi-Nodes.git
then restart. Note that this repo is the author's frozen English mirror - the README says it "will no longer be updated" and points to a more feature-complete Chinese-named sibling (Comfyui-ergouzi-DGNJD) for ongoing development.
Common issues & troubleshooting
"Nothing happens" usually means nothing's connected. Since this is an auto-pick node with no manual override, if all six inputs are empty you get no output and everything downstream stalls. Double-check at least one input0N is actually wired before assuming the node itself is broken.
Wildcard typing hides mismatches until it's too late. Because * accepts anything, a wiring mistake - connecting a MASK where you meant an IMAGE - won't get caught at graph-build time the way a typed socket would. It'll surface as an error deeper in the pipeline, on whatever node actually tries to consume the value. If a downstream node throws a type error and the graph looked fine at a glance, trace back through this switch first.
You actually wanted deterministic selection. If your use case is "always use input 3" rather than "use whichever is connected," this is the wrong node - reach for EG_XZ_QH instead, which adds an explicit choice dropdown.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| input01opt | * | — | |
| input02opt | * | — | |
| input03opt | * | — | |
| input04opt | * | — | |
| input05opt | * | — | |
| input06opt | * | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| output | * | — |