Live data from Hacker News

Diagon – Interactive ASCII art diagram generators

github.com

1–10 of 11 posts

Re: Diagon – Interactive ASCII art diagram generators

#4
Nice. I've seen similar tools for small subsets of what this is doing, but it'll be useful to have a set of utilities like this done well in one place.

---

One thing I've wanted for ages (and might like to write but will likely never find time) is something that does drawio/viso-like diagram manipulation but works in ASCII/Unicode, defaults to text output, and maintains limits (forcing the grid granularity and sufficient spacing for connectors) to make that practical even if offering a more “graphical” output and edit experience.

I've seen a few tools that let you draw diagrams in ASCII/unicode but they have all been more akin to paint than drawio, in that you can't edit objects or move them around after placing, and have connectors & such reflow.

It would be useful for dropping diagrams into otherwise text-only media (flow and table diagrams in readme files, adding table diagrams on dba.stackoverflow without needing to instead link to a graphic or edit more by hand, ...) while allowing a prettier output (as SVG or a bitmap) for where that is relevant. If anyone knows of such a tool I've missed that they can point me to, or wants to go away and write one for me, please do!

Re: Diagon – Interactive ASCII art diagram generators

#5
post #3

This looks really cool. To me personally graphs look the best with "ASCII only" option turned on.

I feel that there needs to be more whitespaces for ASCII to work, i.e. ietf makes nice ASCII graphs but those are hand crafted. https://datatracker.ietf.org/doc/html/rfc6587#section-1
Post reply on HN