Nodes/Comfyui-ergouzi-kaiguan/Universal switch▶️
ComfyUI Node

Universal switch▶️

Toggle node groups with no wiring at all

By 11dogzi·Created 2 years ago·Updated about a year ago· 79
Universal switch▶️
      smooth_edge_switchtrue

      Every other switch node in this pack works by wiring a marker into every group you want it to control. GroupSwitchNodeeee - "Universal switch▶️" - skips the wiring entirely. Right-click it, pick which groups belong to this switch's scheme from the menu, and you're done. No ALLty, no hulue, no jinyong, no noodles running across your canvas. It's the closest thing in this pack to rgthree-comfy's auto-scanning group dashboards, minus the auto part - you still choose the groups explicitly, just from a menu instead of a wire.

      The other feature that makes this one distinct: drop several Universal switch nodes on the same canvas and only the one you currently have "open" actually takes effect. That's a deliberate conflict guard - without it, two switches both claiming the same group could fight over its state. Think of each Universal switch as a named preset; you keep several around and pick which one is live.

      How it works

      Configuration lives entirely in the node's right-click context menu - you tab through the options there to assign which node groups this particular switch owns and what state it puts them in. Because there's no wire carrying that relationship, ComfyUI's graph itself doesn't show you at a glance which groups a given Universal switch controls; you have to open its menu to check. That's the trade-off for not having to place a marker in every group by hand.

      The inputs and outputs that matter

      There's one field: smooth_edge_switch (boolean, on by default), with no tooltip in the schema. Reading it against the pack's fondness for cosmetic flourish - a draggable dog mascot, execution animations, a completion chime - it's most likely about whether the group's on/off transition animates on the canvas rather than snapping; it isn't an execution-affecting setting as far as anything in the README suggests. Notably, this node has no outputs at all - unlike its wire-based siblings, there's nothing to drag anywhere. Everything it does happens through its menu and its effect on the groups it's been assigned, not through the graph.

      How to install it

      Search Comfyui-ergouzi-kaiguan in ComfyUI Manager and install, or:

      cd ComfyUI/custom_nodes
      git clone https://github.com/11dogzi/Comfyui-ergouzi-kaiguan.git
      

      then restart ComfyUI. No dependencies, no models - it's node and UI logic only.

      Common issues & troubleshooting

      You added a second Universal switch and your first one stopped working. That's by design, not a bug - only one Universal switch is "open" at a time across the whole graph, specifically to stop two of them from issuing conflicting instructions to the same group. If you meant to run two independent presets, check which one is currently active before assuming either is broken.

      You can't tell which groups a switch controls just by looking. Because assignment happens in a right-click menu rather than a wire, there's no visual trail on the canvas the way there is with GroupSwitchNode or GroupSwitchNodee. Get in the habit of opening the menu to confirm scope before you flip it on a workflow you didn't build recently.

      You actually wanted per-group precision with a visible wire. If you'd rather see exactly which groups a switch reaches at a glance, the wire-based nodes (GroupSwitchNode for ignore, GroupSwitchNodee for disable, GroupSwitchNodeee for a mix of both) make that relationship explicit on the canvas - worth the extra marker-node setup on a workflow you'll be revisiting later.

      A floating dog icon on a downloaded workflow. Separate from switching logic - the pack's mascot and task-animation layer ship by default and have shown up as a "what is this?" question on r/comfyui. Delete Comfyui-ergouzi-kaiguan/web/kaiguanj.js to turn it off.

      Category2🐕kaiguan

      Inputs (1)

      NameTypeDefaultDescription
      smooth_edge_switchBOOLEANtrue

      Outputs (0)

      No outputs