by Mikael Brännström
ditaa is a cool command-line utility that can convert diagrams drawn using ascii art to bitmap graphics. If you have not already done so, check out the ditaa homepage for more information about the ascii art "syntax" and some examples. You might also want to go to the ditaa-addons project homepage
The addons provided by this project do the same thing as ditaa, but different. One example is the textdiagram Javadoc taglet, which enables ascii art diagrams to be embedded in Javadoc comments. These ascii diagrams are then converted on the fly to PNG graphics and enbedded in the HTML output from Javadoc. Another addon is ditaa eps, which is a simple command-line utility that converts ascii art to scalable EPS graphics (instead of PNG bitmaps).
{@textdiagram ...}
tags in your Javadoc comments and have them converted to nice graphics in the output.
Feel free to contact Mikael Brännström at: mbrannstrom {at} users {dot} sourceforge {dot} net
Textdiagram example: HelloWorld Java source code.
Textdiagram example: HelloWorld Javadoc output.
ditaa bitmap version at 400%
ditaa eps version at 400%