RgthreeDynamicContext
The RgthreeDynamicContext node is the dynamic counterpart to the static Context and Context Big nodes in ComfyUI-rgthree-comfy.
Rgthree Dynamic Context
The RgthreeDynamicContext node is the dynamic counterpart to the static Context and Context Big nodes in ComfyUI-rgthree-comfy. It lets you build a context-style node with an arbitrary number and variety of inputs instead of being limited to a fixed socket layout. Each input is associated with a key name, and the node returns its results as outputs addressed by those key names.
This is useful when a workflow needs to pass many different values through a single node, or when the number and types of connections are likely to change over time. Rather than switching between fixed context node variants, you can add exactly the inputs your workflow requires.
Inputs
Dynamic input slots
The node does not expose a fixed set of input sockets. Instead, inputs are added dynamically according to the needs of the workflow.
Each added input has a key name that identifies it. Inputs may accept a variety of data types, so the effective input list depends on how the node is configured rather than on a predeclared class signature. Because the inputs are user-defined, there are no fixed widget defaults to document for the node as a whole.
Use clear, stable key names for each input. The key name is what ties an input to its corresponding output, so renaming a key can affect how downstream nodes resolve that result.
Outputs
The node returns one output per configured input key. Results are addressed by key name, so the output corresponding to a given key carries the value supplied through that key.
There is no fixed output list. The available outputs are determined by the inputs you configure. When you add, remove, or rename a key, the node's output set changes accordingly, and downstream connections may need to be updated to match.
Usage Notes
- Use
RgthreeDynamicContextwhen you need a flexible number of context inputs. For simple, fixed layouts, the static Context and Context Big nodes may be more convenient. - Choose descriptive and unique key names so outputs remain easy to identify and connect.
- If you rename a key, check downstream nodes that reference the old key name and reconnect or rename them as needed.
- Because both the input and output lists are configuration-dependent, review the node after changing its keys, especially in reusable or shared workflows.
Comments
Sign in with GitHub to join the discussion.