ComfyUI Subgraph Feature Now Officially Released
After months of development and preparation, ComfyUI’s Subgraph feature has finally been officially launched. This new feature aims to help users better manage complex workflows.
What is Subgraph?
The Subgraph feature allows users to combine multiple related nodes into a single node unit. For complex workflows with dozens or even hundreds of nodes, users can now “package” related nodes into concise subgraph nodes, achieving modular management.
The main characteristics of subgraphs include:
- Encapsulating selected nodes as complete input/output units
- Appearing as a single “super node” in the interface
- Supporting internal editing, similar to folder concepts
- Serving as reusable workflow modules, easy to copy and paste
How to Use
According to the introduction, the subgraph creation process is quite simple:
- Box-select the nodes that need to be combined in the workflow
- Click the subgraph button in the selection toolbox
After completing these steps, the selected nodes will be automatically combined into a subgraph node.
Subgraph Editing Features
After subgraph creation, users can further edit and customize it. By clicking the icon on the subgraph node, users can enter edit mode.
In edit mode, the system provides special slot mechanisms:
- Input slots: Used to receive data from external sources
- Output slots: Used to output data to external destinations
Users only need to connect relevant inputs or outputs to corresponding slots to expose data externally.
Advanced Features
Nested Subgraph Support
ComfyUI’s subgraph feature also supports nested structures, allowing users to create more subgraphs within subgraphs, building hierarchical modular workflows. The navigation bar provided by the system helps users clearly understand their current level and switch between different nested subgraphs.
Version Requirements
To use the subgraph feature, users need:
- ComfyUI frontend version 1.24.3 or higher (Desktop version users will need to wait for subsequent updates as stable version release is required for desktop support)
- Download the latest version from the official website: https://www.comfy.org/download
Related Links
For more detailed information, please refer to:
The launch of these new features further enhances ComfyUI’s usability and work efficiency, providing users with more flexible workflow management solutions.