Association Node breaks link direction

0 votes
asked Dec 4, 2015 in Bug by valexiev (790 points)

Take a look a this diagram, and note these nodes on top: father (ia:123), mother (ia:124) and standalone (ia_1000042_ia125_has_father_123). They are positioned the way I want, but I also want to attach the standalone node as an Association Node on the has_father relation.

To do this, edit the source at the above link and put this line before @enduml:

(ia_1000042, ia_123) . ia_1000042_ia125_has_father_123

As a result, the father & mother nodes drop below the ia:1000042 node, and the has_father relation has wrong direction! This contradicts the following:

ia_1000042 -up-> ia_123 : gvp:ia125_has_father

1 Answer

+1 vote
answered Dec 4, 2015 by plantuml (201,140 points)
selected Dec 4, 2015 by valexiev
Best answer

Thanks for the report : this is indeed a bug.

We will investigate this, but in the meanwhile, you can turn around it by changing :

(ia_1000042, ia_123) . ia_1000042_ia125_has_father_123

to :

(ia_123, ia_1000042) . ia_1000042_ia125_has_father_123

The result is here . Is this what you are expecting ?


commented Dec 4, 2015 by valexiev (790 points)
Thanks for the super fast answer! (I could swear I tried that, but obviously not... Or my version is slightly older than the server).
As you can imagine, this diagram is generated (from RDF). So now I'll seek to fix my tool to emit the two nodes in the right order, depending on orientation.

Related question: as far as I can see, "." vs ".." makes no difference here?
commented Dec 4, 2015 by plantuml (201,140 points)
You can try the last beta
This bug should be fixed (very few test done...)