visualize_workflow_hierarchical
Create hierarchical diagrams of ComfyUI workflows with 20+ nodes. Automatically detect sections, resolve virtual wires, and generate overviews, detailed views, or text summaries.
Instructions
Visualize a large ComfyUI workflow as a hierarchical diagram. Detects logical sections using node categories from /object_info, resolves Get/Set virtual wires, and produces either a compact overview (sections as summary nodes), a detailed view of one section, or a text listing of all sections. Best for workflows with 20+ nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | overview: compact diagram with sections as summary nodes; detail: full diagram for one section; list: text summary of all sections; summary: structured text optimized for AI ingestion with node IDs, key settings, virtual wires, and full connection graph | overview |
| section | No | Section name to show in detail view (required when view=detail). Use view=list to see available section names. | |
| workflow | Yes | ComfyUI workflow in API format or UI format (auto-detected) | |
| show_values | No | Include widget values in node labels (detail view only) | |
| direction | No | Flowchart direction (default: TB for overview, LR for detail) |