Automatically organizes nodes in your workflow using a compact hierarchical layout. Created with comfyui-custom-node-template
- Open ComfyUI
- Go to Manager > Custom Node Manager
- Search for
Node Organizer - Click Install
Right-click on the canvas and select Organize Workflow.
To organize specific groups, select them and choose Organize Group.
Add tokens to group titles to control how nodes are arranged:
| Token | Effect |
|---|---|
[HORIZONTAL] |
Single horizontal row |
[VERTICAL] |
Single vertical column |
[2ROW]...[9ROW] |
Distribute into N rows |
[2COL]...[9COL] |
Distribute into N columns |
Examples:
"My Loaders [HORIZONTAL]"- arranges all nodes in a single row"Processing [3COL]"- distributes nodes into 3 columns
Notes:
- Tokens are case-insensitive (
[horizontal]works) [1ROW]=[HORIZONTAL],[1COL]=[VERTICAL]- Nested groups each respect their own tokens
- Groups without tokens use default DAG-based layout
- Execution Order Layout: Nodes arranged left-to-right following data flow
- Compact Bin Packing: Reduces vertical height by packing nodes into rows
- Disconnected Node Handling: Annotations, bookmarks placed in separate left margin
- Reroute Optimization: Reroute chains collapsed and restored along edges
- Group Support: Nested groups with proper hierarchy
- Group Layout Tokens: Control layout with title tokens (see below)
- Subgraph Support: Works inside subgraphs with I/O node handling
This extension has not been thoroughly tested with very large or complex workflows. If you encounter issues, please open a GitHub issue with a minimal reproducible workflow attached.

