Deployment diagram layout issue

0 votes
asked Sep 2 in Question / help by sl (120 points)
edited Sep 2 by sl

I have some layout issues in the following deployment diagram:

  1. How can I have the "other" and "worker" nodes below the "main" node?
  2. How can I decrease the vertical spacing between the artifacts?
When having "empty" nodes the layouting works as expected:

Any hints on how I could improve the diagram are highly appreciated.

1 Answer

0 votes
answered Sep 2 by The-Lu (31,620 points)

Hello S.,

Here is a proposal, with:

skinparam ranksep 20

and some change of arrow...

Regards,
Th.

commented Sep 2 by sl (120 points)
Thanks for your suggestion! The artifacts look much better. However the changed arrows feel like an ugly hack to me, and the result still isn't what I'd expect (I edited my post to include a version with "empty" nodes – I'd expect the same layout for filled nodes as well).
commented Sep 2 by The-Lu (31,620 points)

Hello S.,

Here is another proposal, using sub-diagram ('{{', '}}'):

Regards,
Th.

...