boxes connected with two lines are not rendered properly
Status: Beta
Brought to you by:
stathissideris
See this:
+-----------+
| upper box |
+-+------+--+
| |
| |
+-+------+---+
| bottom box |
+------------+
Here I have two boxes (upper and bottom), and they are connected to each other with two lines.
Unfortunately, ditaa renders this as three separate boxes, without any connections.
I understand this is a tricky case, but it's also a case that is often used when working with networking diagrams.. I don't know how this could be solved automatically, but some kind of tag like {notbox} would be enough to sort this out.
damn, the sourceforge formatting broke my example ascii graph :/ here it is again, in non-broken form:
Last edit: Mateusz Viste 2014-05-20
Would it make sense to have arrowheads on one or both sides of the line? I
think that would stop it being rendered as a box.
On 20 May 2014 11:04, Mateusz Viste mv_fox@users.sf.net wrote:
Related
Bugs: #9
Would it make sense to have arrowheads on one or both sides of the line? I think that would stop it being rendered as a box.
Yes, you are right - indeed if I add arrows, then the problem disappears, but I end up with meaningless arrows on my diagram, which still doesn't make much sense :)
But this gives me another idea - a possible alternative solution to the "notbox" tag would be to define some "invisible arrows" (ie a way to say "this is a line").