Suggested
Examples: · ·
FeatureD2
Nodes supported
Undirected Edges supported
Directed Edges supported
Parallel Edges supported
Self-loops supported
Nested Graphs in Nodes supported
Node Labels supported
Edge Labels supported
Attributes on Nodes supported
Attributes on Edges supported

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.