News for hackers. Stuff that matters.
Re:Show HN: Dot-to-ASCII – Graphviz to ASCII Converter by FreeHugs on Saturday November 30, 2019 @12:36PM (#21671075)
I really would love this if it would use more characters (UTF-8?) to create more beautiful diagrams:

Instead of this:

     + - - - +
     ' HELLO '
     + - - - +
    
Do this:

    ┌───────┐
    │ HELLO │
    └───────┘
There are so many characters available for this, that it would be possible to draw totally awesome diagrams in just text:

https://www.w3schools.com/charsets/ref_utf_box.asp

Re:Show HN: Dot-to-ASCII – Graphviz to ASCII Converter by wrinklytidbits on Saturday November 30, 2019 @06:01PM (#21672619)
This is pretty easy to implement: https://github.com/ggerganov/dot-to-ascii/blob/79fd551467457...

Just replace `--as_ascii` with `--as=boxart`[1]

1. https://metacpan.org/pod/distribution/Graph-Easy/bin/graph-e...

Re:Show HN: Dot-to-ASCII – Graphviz to ASCII Converter by ggerganov on Sunday December 01, 2019 @01:46AM (#21674225)
Thanks for this comment! I didn't know about the "--as=boxart" option.

I just made this the default display, with an option to toggle back to "--as_ascii".

Re:Show HN: Dot-to-ASCII – Graphviz to ASCII Converter by ggerganov on Saturday November 30, 2019 @01:37PM (#21671449)
Here is a very quick "sed" hack to replace vertical and horizontal lines: https://dot-to-ascii.ggerganov.com/staging/

Definitely looks better. Might look into fixing the corners and arrows as well before merging in master.

Re:Show HN: Dot-to-ASCII – Graphviz to ASCII Converter by crooked-v on Saturday November 30, 2019 @12:47PM (#21671149)
On this note, Midnight Commander, ZZT, and MegaZeux come to mind for classic apps with UIs constructed entirely from box-drawing characters.