Live data from Hacker News

D2 (text to diagram tool) now supports ASCII renders

d2lang.com

1–10 of 74 posts

Re: D2 (text to diagram tool) now supports ASCII renders

#3
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...

Re: D2 (text to diagram tool) now supports ASCII renders

#7

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.

> 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.

Re: D2 (text to diagram tool) now supports ASCII renders

#9

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...

I thought your playground wasn't working as it renders black text on black background. Maybe I have darkmode enabled or something. Other renderers work, but ascii is invisible.

Re: D2 (text to diagram tool) now supports ASCII renders

#10

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.

I use LLM to tell my children bedtime stories and to wish my wife goodnight. Saves me a lot of time and energy
Post reply on HN