workflow-layout

Featured

Lay out and organize a ComfyUI workflow cleanly on the live panel canvas. Dependency-layered node placement with no overlaps, subgraphs, colored group boxes, and subgraph rail alignment. Use when asked to tidy / clean up / organize / arrange a workflow, add groups or subgraphs, fix overlapping nodes, or build a workflow that should look good from the start.

AI & Automation 738 stars 120 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
96
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# ComfyUI Workflow Layout & Organization Turn a tangled graph into a clean left-to-right dataflow a human reads at a glance, using the `panel_*` canvas tools. The golden rule: never lay out blind. Read the real node sizes and rail positions first, then compute positions from them. ## Primitives (panel tools) - `panel_query_graph {fields:'detail', limit:200, max_chars:60000}`. READ FIRST, every time. Returns, for the graph you're viewing: - each node's `pos` [x,y], `size` [w,h] (body only), and `full_height` (the TRUE rendered footprint = title bar + body; use this for vertical stacking), - all `groups` (`id`, `title`, `color`, `bounding [x,y,w,h]`), - and, only when inside a subgraph, the `rails`: the `input` / `output` boundary node positions. Everything below is computed from these numbers. - `panel_edit_node({node_id, pos?, size?, title?, collapsed?, preset?|color?|bgcolor?})` atomically moves, resizes, retitles, collapses, or color-codes a node. Widget values remain on their dedicated tool; execution mode is available as `mode` when needed. - Groups (colored boxes; nodes stay put): `panel_create_group` (pass `node_ids` to auto-wrap, or `bounds [x,y,w,h]`; `color` hex), `panel_move_group`, `panel_edit_group`, `panel_remove_group`. - Subgraphs (nest nodes into one collapsible node): `panel_create_subgraph(node_ids)`, `panel_enter_subgraph` / `panel_exit_subgraph`, `panel_get_subgraph`, `panel_promote_widget`, `panel_move_rail(rail, [x,y])` (`rai...

Details

Author
artokun
Repository
artokun/comfyui-mcp
Created
6 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

panel-operations

On-demand procedures for the ComfyUI sidebar panel agent that are too long to sit in the system prompt. Read it when a task lands in one of these areas. subgraph boundary rails and blueprint reuse, merging or composing workflows across tabs, pinning your edits to one workflow, opening staged or downloaded workflow files, untangling Get/Set-bus and rgthree toggle-heavy graphs, authoring rgthree Fast Groups nodes, the LoRA Manager autocomplete-node limitation, the CivitAI browser flow, downloading model weights, reading hardware and runtime stats, Prompt Director audits, custom-node crash recovery, run-to-node render debugging, and multi-stage pipeline chaining. Each section is a lookup, not background reading. Reach for the one you need instead of guessing, and follow the tool's own description for parameter detail.

738 Updated yesterday
artokun
AI & Automation Listed

comfyui-workflows

ComfyUI workflow design, debugging, and automation for image generation. Covers workflow JSON structure, node wiring (KSampler, LoRA, ControlNet, IPAdapter), API queuing and polling, custom node management, batch generation, and workflow templating. Use when asked about "ComfyUI workflow", "ComfyUI nodes", "LoRA setup", "ControlNet workflow", "image generation pipeline", "ComfyUI API", or "batch generate images".

1 Updated today
seanwinslow28
AI & Automation Featured

comfyui-core

Core ComfyUI knowledge covering workflow format, node types, pipeline patterns, and MCP tool usage

738 Updated yesterday
artokun