Notice: This is not the repository for the D2 language. That can be found here.
Vanilla HTML, CSS, and Javascript.
d2.js compiles and renders both Dagre and ELK layouts entirely within the browser.
Yes. Just clone and follow the instructions in the Development section below.
Run ./ci/dev.sh.
Contributions are welcome!
External dependencies are kept to a minimum. Currently they are:
- Monaco Editor for text editing features.
- Panzoom for SVG navigation.
Both are not ideal. Monaco is unnecessarily heavy and Panzoom lacks scrolling. The plan is to replace these one day.
If you're a contributor, please do not add any dependencies without discussing first.