LogoWonderful Launcher
  • Home
  • Pricing
  • Docs
  • Download

How to Group in ComfyUI: Frames, Subgraphs, and Clean Workflows

Needs verification

Group nodes in ComfyUI with frames, use subgraphs for reusable groups, and avoid losing workflow clarity as your canvas grows.

To group nodes in ComfyUI, select the nodes and press Ctrl+G on Windows/Linux or Cmd+G on macOS.

That creates a frame around the selected nodes. Frames are for visual organization. If you want a reusable node-like group, use a Subgraph instead.

Quick Answer

GoalUseShortcut or Action
Organize a messy canvasFrameSelect nodes, press Ctrl+G
Move several nodes togetherMulti-select or frameDrag selected nodes or the frame
Reuse a group as one nodeSubgraphSelect nodes, click the subgraph icon
Hide implementation detailsSubgraphExpose only needed inputs and outputs
Share a reusable blockSubgraph BlueprintPublish from the subgraph tools

Step 1: Select the Nodes

Use one of these methods:

  • drag a selection box around the nodes
  • hold Ctrl and click each node on Windows/Linux
  • hold Cmd and click each node on macOS
  • use Shift click to add nodes to the current selection

Make sure you select the full set of nodes that belong together, not just the final output node.

Step 2: Press Ctrl+G

After selecting the nodes, press:

Ctrl+G

On macOS:

Cmd+G

ComfyUI adds a frame to the selected nodes. In the official shortcut list, this action is described as adding a frame to selected nodes.

Step 3: Rename the Frame

Give the frame a job-based name, not a vague label.

Good frame names:

  • Prompt Encoding
  • Face Detailer
  • ControlNet Pose
  • Upscale Pass
  • Video Frames

Weak frame names:

  • Group 1
  • Stuff
  • Test
  • Nodes

Naming frames well matters because large ComfyUI workflows become hard to debug when every section looks the same.

Step 4: Use Frames for Visual Organization

Frames are best when you want to:

  • label a section of a workflow
  • keep prompt, sampler, ControlNet, upscale, and save nodes separated
  • explain a shared workflow to another person
  • move a visual block without turning it into a reusable component

Frames do not turn several nodes into one new node. They are an organization layer on the canvas.

When to Use a Subgraph Instead

Use a Subgraph when you want the group to behave more like a reusable component.

Subgraphs are better for:

  • repeated blocks used in several workflows
  • complex node chains you want to collapse into one node
  • exposing only a few inputs instead of showing every internal connection
  • building a workflow library for a team

The official ComfyUI Subgraph guide says the feature requires frontend version 1.24.3 or later.

How to Create a Subgraph

  1. Select the nodes you want to group.
  2. Click the subgraph icon in the selection toolbar.
  3. Let ComfyUI create the subgraph from the selected inputs and outputs.
  4. Open the subgraph to rename, clean up, and expose the right parameters.
  5. Save the workflow.

After that, the subgraph works like a higher-level node. You can edit its internals when needed, but the parent workflow stays cleaner.

Frames vs Subgraphs

FeatureFrameSubgraph
Fast visual groupingYesNo
Turns nodes into a single componentNoYes
Good for beginnersYesSometimes
Good for reusable workflow blocksLimitedYes
Can expose selected inputs and outputsNoYes
Best use caseOrganizing the canvasPackaging logic

If you are new to ComfyUI, start with frames. Move to subgraphs when a section becomes stable and reusable.

Troubleshooting

Ctrl+G does nothing

Check that nodes are selected first. If the shortcut was customized, open ComfyUI settings and check the Keybinding section.

I grouped nodes but they did not become one node

That is expected. Ctrl+G creates a frame. Use a Subgraph if you want a reusable node-like group.

The frame is too small

Resize it from the frame edge or corner, then move the nodes inside it. Leave extra space so new nodes can be added later.

Connections became hard to follow

Split the frame into smaller sections. A useful frame usually explains one job: prompt, loader, sampler, ControlNet, detailer, upscale, save, or export.

I want to share a clean workflow

Use frames for readability, then save the workflow JSON. If the recipient needs reusable blocks, use subgraphs and test that all exposed inputs and outputs still work.

Workflow Organization Pattern

For a text-to-image workflow, a clean canvas often looks like this:

SectionNodes
Model Loadingcheckpoint, VAE, LoRA
Prompt Encodingpositive and negative CLIP text encode
Latent Setupempty latent image or image input
SamplingKSampler and scheduler-related nodes
Decode and PreviewVAE decode and preview image
Savesave image or custom output nodes

That structure makes troubleshooting easier because you can tell which section failed without reading every node.

How Wonderful Launcher Helps

Wonderful Launcher does not replace ComfyUI frames or subgraphs. It helps with the environment around the workflow:

  • keep separate environments for stable and experimental workflows
  • preserve working workflows before installing risky custom nodes
  • collect logs when a workflow section fails after plugin updates
  • avoid rebuilding a good setup just because one workflow got messy

For saving and backing up grouped workflows, see Save Workflow in ComfyUI.

Related Guides

  • ComfyUI Interface Guide
  • Save Workflow in ComfyUI
  • Install Custom Nodes
  • ComfyUI Common Issues and Fast Fixes

Source References

  • Official ComfyUI keyboard shortcuts
  • Official ComfyUI Subgraph guide

Start with Wonderful Launcher if this issue touches your real ComfyUI environment. Use the docs to understand the fix, and use the app to inspect the machine you already have.

Download Wonderful Launcher

Did this fix your issue?

Your answer helps prioritize verified ComfyUI repairs.

Table of Contents

Quick Answer
Step 1: Select the Nodes
Step 2: Press Ctrl+G
Step 3: Rename the Frame
Step 4: Use Frames for Visual Organization
When to Use a Subgraph Instead
How to Create a Subgraph
Frames vs Subgraphs
Troubleshooting
Ctrl+G does nothing
I grouped nodes but they did not become one node
The frame is too small
Connections became hard to follow
I want to share a clean workflow
Workflow Organization Pattern
How Wonderful Launcher Helps
Related Guides
Source References