Search code examples
compilationalignmentdiagram

Ditaa not aligning


It should be clear to know (for a human) what I want this ditaa-input file to look like

/---------------------------\
|           TEST            |
+--------------+------------+
| foo()        | "yuck < 3" |
+--------------+------------+
| bar()        | NEVEREVER! |
+--------------+------------+
| antlioneater | (x>5) || d |
\--------------+------------/

But it doesn't. Look at the less/greater signs. Plus, that is one out-of-shape antlioneater!

What am I doing wrong? I invoked ditaa v0.9 as ditaa -E -e utf8 test.txt.


Solution

  • Ditaa parses > and < as arrow heads even if they are not attached to a line ( --> ), hence the weird rendering. It's unfortunate, but that's how it is!