Live data from Hacker News

D2 (text to diagram tool) now supports ASCII renders

d2lang.com

11–20 of 74 posts

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

#11

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.

Ah right, forgot to test the update with dark mode. Thanks for letting me know!

edit: fixed

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

#13
I maintain a list of browser based text to diagram tools (which I have shared a number of times here). I recently realised that the online version of D2 does NOT work solely in browser, diagram's are generated by backend servers.

Can D2 work in browser by itself? Does the extension mentioned in the post work offline? (lots of tools do)

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

#14

I maintain a list of browser based text to diagram tools (which I have shared a number of times here). I recently realised that the online version of D2 does NOT work solely in browser, diagram's are generated by backend servers. Can D2 work in browser by itself? Does the extension mentioned in the post work offline? (lots of tools do)

It does now! (As of a week ago)

Check out the network tab in the d2 playground. It's powered by d2.js, a wrapper around a wasm port of d2, which we've recently been working on. Not super officially ready yet but soon to be, and will be a separate announcement.

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

#15

I maintain a list of browser based text to diagram tools (which I have shared a number of times here). I recently realised that the online version of D2 does NOT work solely in browser, diagram's are generated by backend servers. Can D2 work in browser by itself? Does the extension mentioned in the post work offline? (lots of tools do)

~~May I see that list, please?~~

Edit: found it! Thanks.

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

#16
post #15

I maintain a list of browser based text to diagram tools (which I have shared a number of times here). I recently realised that the online version of D2 does NOT work solely in browser, diagram's are generated by backend servers. Can D2 work in browser by itself? Does the extension mentioned in the post work offline? (lots of tools do)

~~May I see that list, please?~~ Edit: found it! Thanks.

https://xosh.org/text-to-diagram/

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

#20
post #16
post #15

Earlier quoted context omitted.

~~May I see that list, please?~~ Edit: found it! Thanks.

https://xosh.org/text-to-diagram/

Thanks for sharing. Looking at the first section- official mermaid playground supports both ui and text editing. It's been a life changer.
Post reply on HN