diagrams-as-code repositories

Trending repositories tagged diagrams-as-code, ranked by trending score. Updated daily.

  1. 1
    tt-a1i/archify

    Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

    GitHub · JavaScript · 98,608 stars · 6,738 forks · +540 stars in 24 hours · Trending score 5.19

  2. 2
    mermaid-js/mermaid

    Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown

    GitHub · TypeScript · 91,189 stars · 9,511 forks · +26 stars in 24 hours · Trending score 2.95

  3. 3
    openflowkit/openflowkit

    Free, open-source diagram canvas. Draw it, write it as code (Mermaid, D2, Structurizr in), ask any AI model or a local one, let Claude Code edit it live over MCP, or map a GitHub repo with every arrow cited to a file and line. MIT, local-first, no account.

    GitHub · TypeScript · 1,004 stars · 185 forks · +61 stars in 24 hours · Trending score 2.91

  4. 4
    Agents365-ai/drawio-skill

    Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editable, tested draw.io architecture diagrams: incremental sync, multi-view projection, drift diff, CI architecture tests, whiteboard derasterize, interactive HTML/PPTX/Mermaid exports.

    GitHub · Python · 10,888 stars · 744 forks · +17 stars in 24 hours · Trending score 2.60

  5. 5
    patrickchugh/terravision

    Cloud architecture diagrams in both directions: AI prompt or JSON to diagram, diagram to Terraform via MCP server, and Terraform to diagram via CLI or CI/CD. Using Official AWS, Azure and GCP icons.

    GitHub · Python · 1,698 stars · 180 forks · +34 stars in 24 hours · Trending score 2.50

  6. 6
    Aryanutkarsh/SeeCode

    Animated, explorable diagrams for Claude and other coding agents, from a short JSON spec.

    GitHub · JavaScript · 998 stars · 76 forks · +8 stars in 24 hours · Trending score 2.38

  7. 7
    monfa-red/lini

    One small language for every figure from plain text — diagrams, charts, sequences, mindmaps, trees, ER schemas, schematics, floor plans and dimensioned technical drawings — compiled to clean, themeable SVG

    GitHub · Rust · 161 stars · 5 forks · +24 stars in 24 hours · Trending score 2.16

  8. 8
    bybit-exchange/svg-diagram

    Agent skill that draws architecture, flowchart, sequence, data-flow and lifecycle diagrams as hand-placed SVG, to one linted house style.

    GitHub · JavaScript · 676 stars · 45 forks · +16 stars in 24 hours · Trending score 1.94

  9. 9
    plantuml/plantuml

    Generate diagrams from textual description

    GitHub · Java · 13,433 stars · 1,279 forks · +6 stars in 24 hours · Trending score 1.82

  10. 10
    ChanMeng666/archlang

    【Every star you give feeds a hungry developer's motivation! ⭐️】Floor plans as code. Your AI writes ArchLang; the compiler draws a precise, dimensioned plan (SVG, DXF, PDF) and tells it what's wrong. Open source, MIT.

    GitHub · TypeScript · 90 stars · 13 forks · +2 stars in 24 hours · Trending score 1.67

  11. 11
    c4hero/c4hero

    Local-first C4 architecture diagrams in your browser. Edit visually, save as plain .dsl files. Structurizr DSL compatible, no signup, no server.

    GitHub · TypeScript · 62 stars · 13 forks · +5 stars in 24 hours · Trending score 1.42

  12. 12
    reladraw/reladraw

    A text diagram language where you say where things go. Playground: reladraw.github.io/reladraw

    GitHub · TypeScript · 1,205 stars · 33 forks · +4 stars in 24 hours · Trending score 1.26

  13. 13
    coldteadotai/pr-lens

    The fastest way to understand code

    GitHub · TypeScript · 2,423 stars · 103 forks · 0 stars in 24 hours · Trending score 0.81

  14. 14
    miklschmidt/archboard

    Plan the next change with your agent on a map of the system, before it writes a line. Then follow any feature into the code, and see every place where the map and the code disagree.

    GitHub · TypeScript · 12 stars · 1 forks · +1 stars in 24 hours · Trending score 0.73

  15. 15
    danielyaa5/puml-for-markdown

    Render PlantUML diagrams in GitHub Markdown READMEs and docs: clickable diagram images from .puml files that link to each other, with no images to commit. CLI and GitHub Action.

    GitHub · JavaScript · 344 stars · 78 forks · +1 stars in 24 hours · Trending score 0.54

  16. 16
    BESSER-PEARL/uml-drawing-skill

    Agent Skill: draw a correct UML class diagram via BESSER B-UML and generate SVG/PNG outputs in one call — no browser. For READMEs, design docs, wikis, and slides.

    GitHub · 9 stars · 0 forks · +1 stars in 24 hours · Trending score 0.46

  17. 17
    alexdrel/topos

    Topos - AI-Era ASCII Diagrams - Direct graphical editing and rich visualization for plain-text ASCII diagrams, with Markdown integration, SVG/PNG export, CLI rendering, and coding-agent support.

    GitHub · TypeScript · 15 stars · 0 forks · +1 stars in 24 hours · Trending score 0.46

  18. 18
    Nimblesite/typeDiagram

    typeDiagram is a tiny, language-neutral DSL for diagramming data types. Write type, union, alias — get a beautiful, auto-laid-out SVG. No drag, no drop, no proprietary format.

    GitHub · TypeScript · 64 stars · 4 forks · 0 stars in 24 hours · Trending score 0.42

  19. 19
    konoe-akitoshi/shumoku

    Generate network topology diagrams from YAML (diagram as code). SVG/HTML output. NetBox integration.

    GitHub · TypeScript · 185 stars · 15 forks · 0 stars in 24 hours · Trending score 0.40

  20. 20
    CodeBoarding/CodeBoarding

    Interactive architecture diagrams for codebases

    GitHub · Python · 2,685 stars · 235 forks · 0 stars in 24 hours · Trending score 0.34

  21. 21
    HariSekhon/Diagrams-as-Code

    Cloud & DevOps Architecture Diagrams-as-Code in Python, D2 and MermaidJS languages

    GitHub · D2 · 285 stars · 56 forks · 0 stars in 24 hours · Trending score 0.29

  22. 22
    Sagargupta16/orrery

    Animated architecture and system design diagrams with official AWS, Azure, Google Cloud, Kubernetes, GitHub and IBM icons. YAML in; SVG, PNG, draw.io, React TSX and HTML out. An Agent Skill, Claude Code plugin and npm CLI. Gallery: sagargupta.online/orrery

    GitHub · TypeScript · 8 stars · 0 forks · 0 stars in 24 hours · Trending score 0.29

  23. 23
    R0kshan/cairn

    A diagram-as-code tool for generating logical, application, infrastructure views with disposition management, validation, and overlap prevention in large diagrams

    GitHub · JavaScript · 52 stars · 3 forks · 0 stars in 24 hours · Trending score 0.24

  24. 24
    kuml-dev/kUML

    Architecture that compiles. Kotlin DSL for UML 2.x, SysML 2 and C4 diagrams-as-code — CLI, Compose Desktop, IntelliJ & Obsidian plugins, Asciidoctor extension on Maven Central, ELK layout, reverse engineering (Java/Kotlin), XMI import/export, plugin SPI. Apache-2.0.

    GitHub · Kotlin · 44 stars · 4 forks · 0 stars in 24 hours · Trending score 0.24