You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create diagrams and visualizations in Markdown using Mermaid, Graphviz, Vega-Lite, PlantUML, infographics, JSON Canvas, architecture diagrams, and info cards. Use when asked to create any diagram, chart, visualization, or visual documentation.
metadata
author
Diagram skills adapted from markdown-viewer/skills (MIT license). Powered by Markdown Viewer - https://docu.md
Diagram & Visualization Skill
Create professional diagrams and visualizations in Markdown documents. Choose the right tool for the job, then read the detailed reference for that tool.
Decision Guide
What are you trying to create?
Need
Tool
Code Fence
Reference
Flowchart, sequence diagram, state machine, class diagram, mindmap
Where will this be viewed? GitHub (READMEs, PRs, issues), most IDEs, and most markdown renderers only render ```mermaid fences — the other fences (```dot, ```vega-lite, ```infographic, ```canvas), the mxgraph stencil syntax, and the raw-HTML patterns require a compatible viewer (e.g. the docu.md Markdown Viewer extension) and appear as raw code blocks everywhere else. For GitHub/PR/IDE destinations, prefer Mermaid.
Simple process flow? Use Mermaid
Data with numbers? Use Vega-Lite (charts) or Infographic (visual templates)
Software modeling with icons? Use PlantUML
Cloud/network/security architecture? Use PlantUML with provider stencils
Complex graph with custom layout? Use Graphviz
Styled system architecture? Use Architecture (HTML)
Magazine-quality content card? Use Infocard (HTML)
Quick visual summary (KPI, timeline, funnel)? Use Infographic
Spatial/freeform layout? Use JSON Canvas
Workflow
Identify the diagram type from the decision guide above
Read the appropriate reference file for detailed syntax and rules
Follow the critical syntax rules exactly to avoid rendering failures
For Architecture and Infocard: pick a layout first, then apply a style
Important Notes
Architecture and Infocard use raw HTML embedded directly in Markdown (no code fences)
PlantUML diagrams always start with @startuml and end with @enduml
Never use ```text for any diagram type - it won't render
When unsure between tools, prefer Mermaid for simplicity or PlantUML for icon-rich diagrams