D2

Turn text into diagrams

★ 2万 Diagram

Homepage · Source code

Author: Terrastruct, Inc · License: MPL-2.0

Version: latest ·

D2 について

A modern diagram scripting language that turns text to diagrams.

preview


Features

  • 📝 Text-based: Write diagrams in plain text, no need to drag and drop.
  • 🎨 Beautiful themes: Production-ready themes by professional designers.
  • ✏️ Sketch mode: A beautiful, hand-drawn aesthetic.
  • 🎬 Animations: Animated diagrams from text.
  • 📐 LaTeX: Perfect for academic use and research papers.
  • 🌐 Any language: Supports almost all languages.
  • 💻 Code snippets: Syntax highlighted code right in the diagram.
  • 📄 Markdown: Include longform explanations with Markdown.
  • 📊 Tables: Show structured data like SQL tables.