Design Tools

D2

23.2k

Modern diagram scripting language that turns plain text into polished diagrams. Supports flowcharts, entity-relationship diagrams, sequence diagrams, and more.

macOSLinuxWindows

Install

Get started

brew install d2

Usage

How to use

```bash d2 input.d2 output.svg ``` Run with `--watch` to auto-render on save: ```bash d2 --watch input.d2 output.svg ```

Alternatives

Similar tools