RgthreeContextSwitchBig
The Context Switch Big node is part of the ComfyUI-rgthree-comfy pack.
Rgthree Context Switch Big
Description
The Context Switch Big node is part of the ComfyUI-rgthree-comfy pack. It belongs to rgthree's family of context nodes, which bundle conditioning and latent information into a single connection instead of requiring one wire per item, and it works as a switch: at runtime it forwards the context arriving on one selected input and blocks the rest.
The "Big" suffix identifies this as the wider variant of the standard Context Switch. Where the regular node offers a small number of context slots, the Big version exposes many more, so a graph can branch into a large set of alternative context configurations and choose between them with a single node rather than daisy-chaining several small switches.
The upstream docstring is only "The Context Switch Big node.", so no further behavior is described in the source itself.
Inputs
Context inputs
The extracted source metadata declares no fixed inputs, which reflects the fact that the context slots on this node are exposed dynamically on the canvas rather than enumerated statically. Connect a CONTEXT input to each slot you want to be selectable. Wiring a context into a slot makes that branch available to the switch; leaving a slot empty simply makes it a non-choice.
Because the slot count is not fixed in the metadata, check the node's on-canvas labels in your installed version if you need the exact number of available slots.
Selection
Which of the connected context inputs is passed through is decided by the node's selection control. Only the chosen slot's context reaches the output; the others are not evaluated downstream, so alternative branches stay inactive until selected.
Outputs
The metadata lists no statically declared outputs, but as a switch the node forwards the active context on a single CONTEXT output. Connect that output to the context-consuming nodes downstream (for example a Context node or any node that accepts a CONTEXT input).
Usage Notes
- Use Context Switch Big when a graph has more alternative context branches than the standard Context Switch can hold. It keeps the routing in one node instead of a chain.
- Only one branch is passed through at a time. Change the selection to switch which context the downstream graph sees, without rewiring.
- Slots you leave unconnected are harmless; you can grow the graph incrementally and only fill in the slots you actually use.
- Keep the downstream chain context-aware end to end. If a node in the middle of the chain does not accept CONTEXT, the switch's output cannot reach past it.
Comments
Sign in with GitHub to join the discussion.