From D2
From D2 converts D2 source into editable LetDraw shapes. The flow is the same as From Mermaid; only the language is D2. It requires no AI and runs fully offline.

How to open it
Section titled “How to open it”More tools (⋯) → From D2 in the bottom toolbar. (The same window is the D2 tab of Prompt to diagram.)
How to use it
Section titled “How to use it”- Open More tools → From D2.
- Type/paste the D2 code into the left editor; a live preview appears on the right.
- Adjust the line style and zoom, then use Add to place it on the canvas.
Example
Section titled “Example”server: Web Sunucusudb: Veritabanı {shape: cylinder}cache: Redisserver -> db: sorguserver -> cache: oku/yazdb -> cache: ısıtD2 supports common structures like the shape type via shape: (cylinder, queue,
person…), nodes, and labeled arrows. An unsupported structure shows a warning in
the preview.
- No key is needed; it runs fully offline.
- You can turn the diagram you generated back into D2 with Diagram to Code.