graphviz

Generate architecture diagrams, flowcharts, dependency graphs, state machines, and other visualizations from natural language descriptions using Graphviz DOT. Use when: user asks to draw, visualize, or diagram something -- architecture, flow, schema, dependencies, states, ER diagram, block diagram. Returns a clickable GraphvizOnline link with rendered preview.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "graphviz" with this command: npx skills add graphviz-skill

Graphviz Diagram Generator

Generate diagrams from natural language descriptions and return a clickable link to GraphvizOnline with the rendered preview.

When to Use

  • "Draw the architecture of ..."
  • "Make a diagram showing ..."
  • "Visualize the data flow between ..."
  • "Create a flowchart for ..."
  • "Show dependencies between ..."
  • "State machine diagram for ..."
  • "ER diagram of ..."
  • Any request involving diagrams, graphs, schemas, architecture visualization

Workflow

  1. If the user's description is vague, ask one clarifying question before generating
  2. Generate valid DOT code following the conventions below
  3. Show the DOT code in a fenced ```dot block
  4. Construct the URL: https://dreampuf.github.io/GraphvizOnline/# + URL-encoded DOT code
  5. Output the link on its own line so it's clickable

DOT Code Conventions

Graph type

  • digraph for directed graphs (architecture, flows, dependencies, state machines)
  • graph for undirected graphs (relationships, peer networks)

Layout direction

  • rankdir=LR for wide/horizontal layouts (architecture, pipelines)
  • rankdir=TB for tall/vertical layouts (flowcharts, hierarchies)

Node shapes by component type

  • box or component -- services, applications, modules
  • cylinder -- databases, storage
  • ellipse -- users, actors, external systems
  • diamond -- decision points (flowcharts)
  • folder -- directories, namespaces, packages
  • note -- annotations, comments
  • record -- structured data, ER entities (use <field> syntax for fields)
  • doublecircle -- start/end states (state machines)
  • circle -- intermediate states

Grouping

  • Use subgraph cluster_name { label="Group Name"; ... } to group related components
  • Give clusters a light fill: style=filled; color=lightgrey;

Styling

  • Use fontname="Helvetica" on the graph for clean rendering
  • Color-code edges or nodes to distinguish component types when helpful
  • Keep labels concise -- full names on nodes, short verbs on edges
  • Use style=dashed for optional or async connections

Edges

  • Label edges with the relationship or protocol: -> with [label="HTTP"], [label="gRPC"], [label="publishes"]
  • Use style=dashed for async/optional connections
  • Use dir=both for bidirectional relationships

URL Construction

Construct the GraphvizOnline URL by URL-encoding the entire DOT source and appending it as a hash fragment:

https://dreampuf.github.io/GraphvizOnline/#<URL-encoded DOT code>

The DOT code must be encoded with standard percent-encoding (spaces -> %20, newlines -> %0A, etc.).

Output Format

Always output in this order:

  1. Brief description of what the diagram shows (1 sentence)
  2. The DOT source in a fenced ```dot block
  3. The clickable GraphvizOnline link on its own line

Example output structure:

Architecture showing the API gateway routing to backend services:

digraph { ... }

Open in GraphvizOnline

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated