Nodes/JosiaNodes/Josia多组控制
ComfyUI Node

Josia多组控制

Mute every group in your workflow with one click

By Josia-doit·Created 6 months ago·Updated a day ago· 16
Josia多组控制

      If you've ever built a workflow big enough that it needs "regions," you know the pain JosiaGroupControllerM (Josia多组控制) removes: toggling groups on and off is normally a click-per-group grind across a canvas that's too zoomed-out to see. This node gives you one dashboard that lists every group in the workflow and lets you flip them all at once.

      This is the multi-group variant from the JosiaNodes pack's group controller pair. Where its little sibling JosiaGroupControllerS handles one group with a dropdown, this one scans all groups automatically and puts a switch next to each. Click 全部跳过 (skip all) and every group in the workflow goes into bypass in one shot; 全部启用 (enable all) restores everything. Click an individual group's name and the viewport jumps to that group - handy when a workflow has wandered off-screen and you need to find "upscale pass" again.

      How it works

      Honest answer: it doesn't, at least not on the Python side. The node registers with no inputs, no outputs, and an empty run(). Every bit of behavior lives in the frontend JavaScript (web/js/group_controller.js), which reads the canvas's group list, renders the dashboard, and flips each group's skip state. That means it uses zero VRAM and zero compute - it's pure graph organization, the "legibility" category of node. The colored dots are a genuinely nice touch: green = enabled, red = skipped, orange = partially skipped (some nodes in the group bypassed, others not). That orange state is the one that's otherwise invisible on the canvas, so it alone can save you a debugging session.

      There's a 单选模式 (single-select mode) in the mix too - when active, enabling one group auto-disables the others, which is how you'd build an A/B experiment across a handful of group variants.

      Inputs and outputs

      None. It's a terminal output node with zero sockets on both sides. You place it, it does its thing, and the state rides along with the saved workflow - reopen the JSON and your skip configuration comes back with it.

      Install

      This is part of ComfyUI_JosiaNodes, zero extra Python dependencies:

      cd ComfyUI/custom_nodes
      git clone https://github.com/Josia-doit/ComfyUI_JosiaNodes
      

      or install via ComfyUI Manager (search ComfyUI_JosiaNodes), then restart. It shows up under the Josia category.

      The real gotcha

      Everything depends on that JS file. The README is explicit about it: this node, along with the comparer, valve, seed, loader, and multi-image loader, relies on web/js - do not delete or move that folder. If the dashboard renders but nothing toggles, a stale or missing group_controller.js is the first thing to check. Because the whole pack's frontend is Chinese-labeled, the buttons read 全部跳过/全部启用 - easy to find once you know what you're looking for.

      One fair caveat: nodes this frontend-heavy are exactly the kind that break when ComfyUI's Nodes 2.0 frontend rewrite gets enabled (it's already claimed rgthree's muters). If the dashboard looks wrong after a ComfyUI update, switch back to the legacy canvas before filing anything.

      Category⚡️JosiaNodes

      Inputs (0)

      No inputs

      Outputs (0)

      No outputs