DITAA (DIagrams Through Ascii Art)

ditaa is a small command-line utility written in Java, that can convert diagrams drawn using ascii art ('drawings' that contain characters that resemble lines like | / - ), into proper bitmap graphics. See http://ditaa.sourceforge.net/ for more details.

 

Ditaa Parameters

You can turn on/off the drop-shadow effect for ditaa diagrams. The drop-shadow effect is also supported by nearly all PlantUML diagrams (using Svek rendering mode). Additional for ditaa diagrams there is a parameter to prevents the separation of common edges of shapes. You can see the difference below:

{plantuml:type=ditaa|border=1}
+--------+   +-------+    +-------+
|        +---+ ditaa +--> |       |
|  Text  |   +-------+    |diagram|
|Document|   |!magic!|    |       |
|     {d}|   |       |    |       |
+---+----+   +-------+    +-------+
    :                         ^
    |       Lots of work      |
    +-------------------------+
{plantuml}

{plantuml:type=ditaa|align=center}
/--------\   +-------+
|cAAA    +---+Version|
|  Data  |   |   V3  |
|  Base  |   |cRED{d}|
|     {s}|   +-------+
\---+----/
    
    
+---+-----+   +----------+
| cBLU    |   | {io}     |
| Ext-Foo |   |  S-ATA   |
|   +-----+   |   cFEA   | 
|   |cPNK |   +----------+
|   | Foo |   
+---+-----+
{plantuml}

{plantuml:type=ditaa}
/-------------+-------------\
|cRED RED     |cBLU BLU     |
+-------------+-------------+
|cGRE GRE     |cPNK PNK     |
+-------------+-------------+
|cAAA               AAA     |
+-------------+-------------+
|cCCC               CCC     |
+-------------+-------------+
|cBLK BLK     |cYEL YEL     |
\-------------+-------------/
{plantuml}