graphviz

Generate directed or undirected graph diagrams from DOT definitions.

Updated May 5, 2026
One-click install
npx skills add https://github.com/XCmiaow/cc-deploy --skill graphviz-xcmiaow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graphviz
Source: https://github.com/XCmiaow/cc-deploy/tree/main/skills/graphviz
Command: npx skills add https://github.com/XCmiaow/cc-deploy --skill graphviz-xcmiaow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Graphviz turns dense DOT language definitions into clear, correctly-laid-out diagrams so you can communicate relationships and structure without manual drawing.

Core Features & Use Cases

  • Directed and undirected graphs: Use digraph for dependencies and graph for bidirectional relationships.
  • Clusters for grouping: Create visually separated sections by using subgraph cluster_* for subsystem or team boundaries.
  • Production-ready DOT formatting guidance: Avoid common syntax pitfalls like invalid code fences, cluster naming, node IDs with spaces, and attribute/edge punctuation errors.
  • Use cases: Dependency trees, call graphs, package/module hierarchies, and any system diagram where routed edges improve readability.

Quick Start

Tell the AI to generate a DOT snippet using a digraph with labeled nodes and edges, set rankdir=TB, and output the result inside a single ```dot fenced block.

Frequently Asked Questions about graphviz

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a dependency tree diagram from DOT code?

You generate a dependency tree by providing DOT definitions using a `digraph` with labeled nodes and edges. The Skill processes the DOT syntax and outputs a fenced dot block containing the routed diagram visualization.

What is the best way to visualize call graphs and module hierarchies without manual drawing?

Visualizing call graphs and module hierarchies is done by defining relationships in DOT language. The Skill converts these definitions into correctly-laid-out diagrams with routed edges, eliminating the need for manual drawing.

Can I group subsystems in a directed graph using clusters?

Yes, you can group subsystems in a directed graph using clusters. You create visually separated sections by using `subgraph cluster_*` in your DOT definitions to represent subsystem or team boundaries.

Does Graphviz work with bidirectional relationships or only directed graphs?

Graphviz works with both directed and bidirectional relationships. You use `digraph` for dependencies and directed graphs, and `graph` for bidirectional relationships to structure your visualization.

Why does my DOT diagram generation fail with cluster naming or attribute punctuation errors?

DOT diagram generation fails due to incorrect syntax conventions. You must avoid common pitfalls like invalid code fences, improper cluster naming, node IDs with spaces, and missing attribute commas or edge punctuation.

Do I need to learn DOT syntax conventions to create package hierarchy diagrams?

Yes, you need to learn DOT syntax conventions to create package hierarchy diagrams. Correct syntax for clusters, node IDs, edge operators, and attribute punctuation is required to output a valid fenced dot block.