| Feature | D2 | |
|---|---|---|
| Nodes | | |
| Undirected Edges | | |
| Directed Edges | | |
| Parallel Edges | | |
| Self-loops | | |
| Nested Graphs in Nodes | | |
| Node Labels | | |
| Edge Labels | | |
| Attributes on Nodes | | |
| Attributes on Edges | |
Frequently Asked Questions
How do I convert a file to D2?
Upload or paste your graph above in any supported input format, then download it as D2. It is free and runs in your browser.
Which formats can I convert to D2?
Pick any supported input, such as GraphML, DOT, GML or Connected JSON, and convert it to D2 in one step.
Is converting to D2 free?
Yes. Conversion runs in your browser, with no account and nothing to install.