Association Node breaks link direction

0 votes
asked Dec 4, 2015 in Bug by valexiev (960 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

0 votes
answered Dec 4, 2015 by plantuml (208,820 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 (960 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 (208,820 points)
You can try the last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar
This bug should be fixed (very few test done...)
commented Sep 18 by valexiev (960 points)
The bug is still present: the Association node is attached, but the Mother (ia_124) and Father (ia_123)  nodes are moved below the Hercules (ia_1000042) node
commented Sep 19 by plantuml (208,820 points)

Could you build the shortest test case that shows the issue ?

It would definitively help !

Thanks!

...