Nodes/Lenient Switch/Simple Selector (Switch) Advanced
ComfyUI Node

Simple Selector (Switch) Advanced

A ComfyUI node in Lenient Switch with 9 inputs and 2 outputs.

By id-fa·Created 3 months ago·Updated 2 months ago· 5
Simple Selector (Switch) Advanced
  • selector
  • source_a
  • source_b
  • source_c
  • source_d
  • source_e
  • output
  • label
block_on_none_selectedfalse
bypass_unselectedfalse
bypass_unselected_groupsfalse
CategoryLenient Switch

Inputs (9)

NameTypeDefaultDescription
selectorLENIENT_SELECTOR{"select": "none", "labels": ["", "", "", "", ""]}Exclusive-checkbox selector (slots A-E + none) with a per-slot editable label. Click a row to select; double-click a slot row to edit its label (the label also names the canvas group for bypass_unselected_groups). Value is JSON: {"select": ..., "labels": [..]}.
block_on_none_selectedBOOLEANfalseWhen 'none' is selected, emit ExecutionBlocker so downstream nodes are skipped instead of receiving None.
bypass_unselectedBOOLEANfalseWhen ON, only the selected slot's source_X is evaluated; the upstream chains feeding the other (and, with 'none', all) sources do not run (lazy evaluation). Note: nodes are not visually bypassed like rgthree; they simply do not execute.
bypass_unselected_groupsBOOLEANfalseJS-only, rgthree FastGroupsBypasser-style group bypass. When ON, the canvas group whose name matches each slot's label is set to BYPASS (mode 4) for every UNSELECTED slot and to ALWAYS for the selected slot. Handled entirely by the frontend; the Python run/check_lazy_status ignore this toggle. Orthogonal to bypass_unselected (lazy eval). When OFF, referenced groups are restored to ALWAYS.
source_aopt*Source for slot A (any type).
source_bopt*Source for slot B (any type).
source_copt*Source for slot C (any type).
source_dopt*Source for slot D (any type).
source_eopt*Source for slot E (any type).

Outputs (2)

NameTypeDescription
output*
labelSTRING