D2 is a text-to-diagram language and CLI focused on readable syntax and high-quality default layouts.
- Architecture diagrams in code repositories
- Fast visual generation from simple text sources
- Teams standardizing diagram rendering in CI pipelines
- Compact diagram DSL
- CLI rendering to SVG/PNG and watch workflows
- Layout and theme controls for consistent visuals
- Active CLI project with strong docs-as-code adoption
¶ History and References