← Back to tools

D2

Modern diagram scripting language that turns text to diagrams

Media linuxmacoswindows Go MPL-2.0

Description

D2 is a modern diagram scripting language that turns text to diagrams. It provides a declarative syntax for creating software architecture diagrams, flowcharts, and other visual representations from code.

AI Summary

A modern diagram scripting language that converts text descriptions into diagrams, similar to Mermaid but with more features.

Capabilities

  • + Convert text to diagrams
  • + Support for various diagram types
  • + Multiple output formats (SVG, PNG)
  • + Declarative syntax for diagrams
  • + Auto-layout engine
  • + Themes and styling

Use When

  • User wants to create diagrams from text
  • User needs diagrams in documentation
  • User prefers code-based diagram creation

Avoid When

  • x User prefers visual drag-and-drop diagram tools
View AGENTS.md for D2