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.
Instead of this:
Do this: 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