D2 (text to diagram tool) now supports ASCII renders

83 alixanderwang 7 8/19/2025, 6:14:41 PM d2lang.com ↗

Comments (7)

alixanderwang · 1h ago
Hello fellow devs. Just wanted to share a new feature we added this morning, though it's very alpha stage (already someone's filed a github issue for it hah)

If you want to skip the blog post and poke around directly: https://play.d2lang.com/?script=qlDQtVOotFLIyFTwSEzOTi1S8Est...

For a bigger example: https://play.d2lang.com/?script=rJJBjtswDEX3OgWBrm2kzU4Feoru...

robertlagrant · 1h ago
This looks cool. And I saw the previous post you got C4 support! I'm just about to do some C4 things; I'll check it out.
bxpn77 · 28m ago
Super cool!
jillesvangurp · 52m ago
Llm to text to diagram is the killer workflow these days.

The key challenge is making these things presentable. Optimizing them for human editability is a secondary concern at this point. This is where a lot of these tools fall apart.

billyp-rva · 42m ago
> Llm to text to diagram is the killer workflow these days.

It's useful, but I think only marginally. When using a diagrams-as-code tool, having an LLM write it for you gets you up and running faster, but long term you have more control (and no hallucinations) just writing the code yourself. It'll probably be fewer keystrokes in the end. Doubly so if your diagrams-as-code tool has decent autocomplete.

reactordev · 1h ago
The vim extension is such a flex...
eric-p7 · 46m ago
Not to be confused with The D Programming Language, which has a similar domain (dlang.org), and is currently on version 2.