complex container diagrams

0 votes
asked Oct 31, 2018 in Bug by valexiev (790 points)

We're trying to migrate from LucidChart to puml for drawing complex deployment diagrams with containers, icons and complex text on the arrows. Sadly, puml is lacking in this respect.

Consider this simplified (nodes-only) diagram. When we add node descriptions and icons, a couple of arrows get screwed: now we have 3 nodes above the two buckets, whereas in the original we had 1 node above and 2 nodes below.

If I add the other parts (2 levels of containers and long arrow text), it gets screwed up hopelessly:

Thanks for any help!

1 Answer

0 votes
answered Nov 20, 2018 by mgrol (2,760 points)


from you second link I could see that you added a lot of directions to the arrows. Plantuml works best when you do not use the directed arrows to much and let graphviz decide how to position your elements. This has, however, an impact how the graphics looks like and that your graphic can look completely different each time you add a component. Additionally, the attach point from arrows to components is currently not optimal. 

Anyhow, I changed your graphics by removing the some of the directions and playing arround with ranking (length of the arrows), which looks like this:

I know it is not optimal if you need to try around, but that is the downside of automatic layouting.