Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Association Node breaks link direction

0 votes

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

asked Dec 4, 2015 in bug by valexiev (520 points)

1 Answer

+1 vote
 
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 ?

 

answered Dec 4, 2015 by plantuml (126,730 points)
selected Dec 4, 2015 by valexiev
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?
You can try the last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar
This bug should be fixed (very few test done...)
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...