Why '' [<--o Object '' produces not really expected arrow drawing

0 votes
asked Feb 11, 2016 in Bug by habdank (420 points)
Dears,

Why the code

[<--o Object

produces not really expected arrow drawing.

It draws something like

o<------------- Object

Best regards,

Seweryn.

1 Answer

0 votes
answered Feb 16, 2016 by plantuml (294,960 points)

Your example is interpreted as a sequence diagram, that's why it is drawn as:

 

If you want a class/object diagram, you can change it in:

Object bar
Foo <--o bar

commented Feb 18, 2016 by anonymous
Hi,

It was intention to have sequence diagram.
Interesting is the position of the circle - the code has it on the right, the generated drawing on the left :-).

Best regards,
Seweryn.
...