- D2 is a CLI tool for creating diagrams from .d2 files.
- Installation can be done via a script or from source using Go.
- D2 supports SVG, PNG, and PDF exports.
- Includes various themes and supports custom fonts.
- Can be used as a library in Go programs.
- Features language tooling like autoformatter and syntax highlighting.
- Extensible with plugins for layout engines like dagre, ELK, and TALA.
- Open-source under Mozilla Public License 2.0.
- Has integrations with VSCode, Vim, Obsidian, and more.
- Notable projects using D2 include ElasticSearch, Temporal, and Tauri.