ComfyUI-Sub-Nodes
C
Comfyui Sub Nodes
Overview :
ComfyUI-Sub-Nodes is an open-source project on GitHub designed to provide sub-graph node functionality for ComfyUI. It allows users to create and utilize sub-graphs within ComfyUI, enhancing workflow organization and reusability. This plugin is particularly beneficial for developers who need to manage complex workflows within their UI.
Target Users :
This plugin is targeted towards developers who use ComfyUI for workflow development, especially those who need to manage complex logic and data flow within their UI. It helps them organize code more effectively, boosting development efficiency and maintainability.
Total Visits: 492.1M
Top Region: US(19.34%)
Website Views : 56.9K
Use Cases
Developer A used ComfyUI-Sub-Nodes to create a data processing sub-graph within their UI, improving data processing efficiency.
Developer B utilized this plugin to implement a complex image processing workflow within their UI, simplifying the code structure.
Developer C reused multiple workflow modules in their UI through the sub-graph functionality, reducing code duplication.
Features
Create sub-graph workflows, defining inputs and outputs using VIV_Subgraph_Inputs and VIV_Subgraph_Outputs.
Create a folder named 'subnodes' in the root directory of the ComfyUI installation directory to store sub-graph workflows.
Call sub-graphs using the VIV_Subgraph node, automatically populating inputs/outputs, supporting progress bars and preview displays.
Support for passing any object between sub-graphs.
Sub-graph nodes add additional keys to support sub-graph execution, enhancing workflow flexibility.
Support for exporting workflows in API format, though some information might be lost.
Intuitive and straightforward creation and calling of sub-graphs, making it easy to get started.
How to Use
1. Locate the ComfyUI-Sub-Nodes project on GitHub and download it.
2. Read the project's README.md file to understand how to install and configure the plugin.
3. Create sub-graph workflows and define inputs/outputs using VIV_Subgraph_Inputs and VIV_Subgraph_Outputs.
4. Create a subnodes folder in the ComfyUI installation directory and save the sub-graph workflows there.
5. Call the sub-graph in the main workflow using the VIV_Subgraph node.
6. Adjust the sub-graph's inputs/outputs as needed to ensure correct data transmission.
7. Test the sub-graph functionality to ensure it works as intended.
8. Fine-tune and optimize the sub-graph as needed to improve workflow efficiency and maintainability.
AIbase
Empowering the Future, Your AI Solution Knowledge Base
© 2025AIbase