ComfyUI > Nodes > ComfyUI-LogicUtils > Add Values

ComfyUI Node: Add Values

Class Name

AddNode

Category
Logic Gates
Author
aria1th (Account age: 3016days)
Extension
ComfyUI-LogicUtils
Latest Updated
2026-01-21
Github Stars
0.1K

How to Install ComfyUI-LogicUtils

Install this extension via the ComfyUI Manager by searching for ComfyUI-LogicUtils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-LogicUtils in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Add Values Description

Facilitates node addition and connection in computational graphs, managing dependencies efficiently.

Add Values:

The AddNode is a crucial component within the node-based system designed to manage and integrate nodes into a computational graph. Its primary purpose is to facilitate the addition of nodes by handling their unique identifiers and establishing necessary connections or links between them. This node is particularly beneficial in scenarios where dynamic graph construction is required, as it efficiently manages dependencies and ensures that nodes are correctly linked, even in complex subgraph structures. By leveraging the AddNode, you can streamline the process of building and maintaining intricate node networks, ensuring that each node is appropriately connected and ready for execution.

Add Values Input Parameters:

node_unique_id

The node_unique_id parameter is a critical input that uniquely identifies the node to be added to the graph. It serves as the primary reference for the node, ensuring that it is correctly recognized and integrated into the existing network. This parameter does not have a predefined range of values, as it is typically a unique string or identifier generated by the system. Its correct specification is essential for the successful addition of the node, as it directly impacts the node's ability to interact with other nodes and participate in the graph's execution.

include_lazy

The include_lazy parameter is a boolean flag that determines whether nodes with lazy inputs should be included in the graph. By default, this parameter is set to False, meaning that lazy nodes are excluded unless explicitly specified. When set to True, the node will include lazy inputs, allowing for more flexible graph configurations. This parameter is particularly useful when dealing with nodes that have optional or deferred execution paths, as it provides control over their inclusion in the graph.

subgraph_nodes

The subgraph_nodes parameter is an optional list that specifies a subset of nodes to be considered when adding the node to the graph. If provided, only nodes within this list will be linked, allowing for targeted subgraph construction. This parameter is beneficial when you need to focus on specific sections of a larger graph, as it restricts the scope of node addition to the specified subset. It is particularly useful in scenarios where you want to isolate or test specific parts of the graph without affecting the entire network.

Add Values Output Parameters:

The AddNode does not explicitly define output parameters in the provided context. However, its primary function is to modify the graph structure by adding nodes and establishing links, which indirectly affects the overall graph configuration and execution.

Add Values Usage Tips:

  • Ensure that the node_unique_id is correctly specified to avoid issues with node recognition and integration.
  • Use the include_lazy parameter to control the inclusion of lazy nodes, especially when dealing with complex graph configurations.
  • Leverage the subgraph_nodes parameter to focus on specific sections of the graph, allowing for targeted modifications and testing.

Add Values Common Errors and Solutions:

Node not found

  • Explanation: This error occurs when the specified node_unique_id does not correspond to any existing node in the system.
  • Solution: Verify that the node_unique_id is correct and corresponds to a valid node. Ensure that the node has been properly initialized and registered in the system.

Invalid subgraph_nodes list

  • Explanation: This error arises when the subgraph_nodes parameter contains invalid or non-existent node identifiers.
  • Solution: Check the subgraph_nodes list to ensure that all specified nodes are valid and exist within the current graph. Correct any discrepancies in the node identifiers.

Add Values Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-LogicUtils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.