Re:Ditaa: DIagrams Through Ascii Art
by dbcurtis on Monday February 15, 2016 @02:23PM
(#11105298)
Well, OK, but usually I want to go the other way. How about something that can take a drawing produced in some sort of reasonable drawing tool and produce ASCII art that I can include in some kind of ASCII-only file (like program source.) Originating a drawing in ASCII-art is about as fun as a poke in the eye with a sharp stick.
Certainly, there is value on ASCII-art to nice-graphics mark-up, but only to the extent that the ASCII-art is used as an intermediate, human readable, common-demoninator storage format. Authoring in ASCII-art just needs to stop.
Re:Ditaa: DIagrams Through Ascii Art
by Animats on Monday February 15, 2016 @01:53PM
(#11105146)
Aw. I wrote a UNIX filter to do that around 1980. It looked at lines of text three lines at a time, and converted "+", "-", "_", and "|" characters used together to line drawing characters to make clean boxes, lines, and joins.
Re:Ditaa: DIagrams Through Ascii Art
by neolefty on Monday February 15, 2016 @08:00PM
(#11107249)
My fault. It was running on a free Amazon ec2 instance and I forgot to transition it to paid when the time ran out. If anyone wants to get it running again I've still got the domain and can point it to the right place.
I'm on vacation now but this gives me a good reason to get it working again!
Re:Ditaa: DIagrams Through Ascii Art
by herbst on Tuesday February 16, 2016 @12:02PM
(#11111261)
> a small command-line utility written in Java
That somehow sounds wrong. Other than that, very cute. I remember when i wrote a task tracker for myself in school projects and suddenly there was a requirement to print them out. Creating a ASCII representation was the most fun part.
Certainly, there is value on ASCII-art to nice-graphics mark-up, but only to the extent that the ASCII-art is used as an intermediate, human readable, common-demoninator storage format. Authoring in ASCII-art just needs to stop.
How did you do that?
https://github.com/stathissideris/ditaa
(SF.net lists 2011 as SVN trunk date, github lists "13 days ago")
In related work, see also my Go port at:
https://github.com/akavel/ditaa
(side by side comparison: http://akavel.github.io/ditaa/)
Separately, check out plantuml for diagrams from text http://plantuml.com/
I'm on vacation now but this gives me a good reason to get it working again!
That somehow sounds wrong. Other than that, very cute. I remember when i wrote a task tracker for myself in school projects and suddenly there was a requirement to print them out. Creating a ASCII representation was the most fun part.
[1]. http://dita.xml.org/