Nodes/SDVN_Comfy_node/⚙️ Group Switch
ComfyUI Node

⚙️ Group Switch

Toggle whole workflow sections on and off

By StableDiffusionVN·Created 2 years ago·Updated about a month ago· 118
⚙️ Group Switch

      Once a workflow grows past one screen, you stop wanting to run all of it every time. You've got an upscale section, a face-detail section, a ControlNet section - and for this particular render you only need two of the three. This node ("Group Switch") gives you a little dashboard of on/off toggles, one per group in your workflow, so you can bypass entire sections without hunting down every node inside them and right-clicking bypass on each.

      If this sounds familiar, it should: it's the same idea as rgthree's Fast Groups Bypasser, one of the most-installed quality-of-life nodes in the whole ComfyUI ecosystem. SDVN bundles its own version so you get the capability from this pack alone. It adds nothing you can generate with - it makes a big graph something you can actually work in.

      How it works

      The node scans your workflow for groups (the colored boxes you draw around clusters of nodes) and renders a toggle for each. Flip a group off and every node inside it gets bypassed at run time - passed over instead of executed - so that branch of the graph doesn't run. Flip it back on and it's live again. Nothing is deleted; you're just switching sections in and out.

      That's why it has no inputs and no outputs. It's not a data node you wire into the graph - it's a control panel that reads your groups and toggles their bypass state directly. You place it anywhere on the canvas and use it as a switchboard.

      The inputs and outputs that matter

      There are none to wire, and that's the point. The "interface" is the list of group toggles the node draws once it's on your canvas. The two things to know:

      • Name your groups. The toggles are labeled by group name, so a workflow with clear group names ("Upscale", "Detailer", "ControlNet") gives you a readable switchboard; unnamed groups give you a useless one.
      • Bypass, not mute. Bypassed nodes are skipped but pass their input through where they can, which keeps the graph valid. It's the clean way to disable a section without breaking the wires downstream of it.

      How to install it

      ComfyUI Manager: search SDVN_Comfy_node, install, restart. Or clone it:

      cd ComfyUI/custom_nodes
      git clone https://github.com/StableDiffusionVN/SDVN_Comfy_node
      

      then pip install -r custom_nodes/SDVN_Comfy_node/requirements.txt from your ComfyUI root, and restart. It's under SDVN → Tools.

      Common issues & troubleshooting

      No toggles show up. The node lists groups, not nodes. If your workflow has no groups drawn, there's nothing to toggle - select some nodes and add a group first.

      Toggles are unlabeled or confusing. Rename your groups. The switchboard is only as clear as your group names.

      It renders wrong or overlaps under the new frontend. This class of dashboard node has historically had friction with ComfyUI's Nodes 2.0 (Vue) frontend rewrite - the well-known rgthree equivalent hit exactly this, with stacked/misrendered widgets. If yours looks broken, check whether Nodes 2.0 is enabled and try the legacy canvas, which is still available and opt-out.

      Bypassing a group didn't skip the work I expected. Make sure the nodes you wanted skipped are actually inside the group's box. A node sitting just outside the border isn't part of the group and won't be toggled with it.

      Category📂 SDVN/🛠️ Tools

      Inputs (0)

      No inputs

      Outputs (0)

      No outputs