visualize_workflow
Convert ComfyUI workflow JSON into a Mermaid flowchart diagram. Nodes are grouped by category with connections labeled by data type.
Instructions
Convert a ComfyUI workflow JSON into a Mermaid flowchart diagram. Returns mermaid syntax showing nodes grouped by category (loading, conditioning, sampling, image, output) with connections labeled by data type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes | ComfyUI workflow JSON (as a JSON string or object) | |
| show_values | No | Include widget values (seed, steps, cfg, etc.) in node labels | |
| direction | No | Flowchart direction: LR (left-to-right) or TB (top-to-bottom) | LR |