need help in layout among and inside packages

0 votes
asked 6 days ago in Question / help by 62mkv (120 points)

Hi community!

I've tried to draw something really usefule with PlantUML

This is what I've managed to compose so far:

I have several issues with this (sorry, couldn't figure out how to add an image directly in to post):

1) I would like to have "3rdParty" strictly below "Microservice", like a layer, and a database probably spanning right to both of them, like this




I was trying to use ---- separators but it seems as they only work in texts (

2) inside the microservice layer, I would like to have components Coordination, service1 and service2 be placed one under another, right to the ActiveMQ box, and have simple horisontal arrows linking them to Topics endpoint

however I was unable to achieve this. I've tried to use "transparent" packages

skinparam package<<Layout>> {
  borderColor Transparent
  backgroundColor Transparent
  fontColor Transparent
  stereotypeFontColor Transparent
and also 
!pragma horizontalLineBetweenDifferentPackageAllowed
but it only makes things worse. Also, I've never figured out how to remove that "3d shadow" effect to the right and bottom of the package border

Is it my poor understanding of PlantUML or it's inherent limitations that do not allow for more pretty and predictable component layout on a diagram ? 

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.