"ditaa is a small command-line utility that can convert diagrams drawn
using ascii art ('drawings' that contain characters that resemble lines
like | / - ), into proper bitmap graphics."
This Go port is still work in progress, but I brought it to the point where I can show some advanced visuals. So, in case anyone was interested and/or wanted to help fixing the remaining differences:
a visual side-by-side table comparing the current Go port results to the Java original is available at:
http://akavel.github.io/ditaa/and the sources of the port live at:
https://github.com/akavel/ditaaNotes:
- the codebase is absolutely *non-idiomatic* at the moment! this is more or less "port the Java codebase function-by-function", with only some coding style tweaks when muse struck me;
- I use freetype-go for drawing, and it doesn't support dashed lines, so that's probably not coming soon, as I'm not aware too well how to do this at the moment;
- the license is GPL v2 (2+? not sure, must verify); the original DITAA switched to GPL v3 recently, but I forked from v2 (from the codebase before that switch);
- some specific features not supported yet at a glance: colors, tags (shapes), dashed lines, commandline options, point markers, other output formats (png-only for now);
- features supported at a glance: boxes, lines, text, arrows, drop-shadows;
- I keep the Java sources (slightly modified) in orig-java/ subdirectory; specifically, I introduced an intermediary XML format (for diagram description, just before rendering) both in the Java and Go codebases.
The original DITAA has its homepage at:
http://ditaa.sourceforge.net/and the Java sources from the original author live at:
https://github.com/stathissideris/ditaaCheers,
/Mateusz.