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:

http://www.plantuml.com/plantuml/png/TPF1Rjim38RlUWh1znpSNOEWNPS10nPidGraLqPcFQ6EP51oiM3mkqzXx37n59yiVh_uamJr629G78wTKk7DkXu8Zhe7ymOjhjTVuUI7kDdeFqhhWwS6wTbtddHDu48IeujdalGj-S4rEVhgNSp5GqH27qyzViugHgMcGlIs-iWbQ6tyiVSkOLtiC0HehMiBjKHxFEWAwTqQ30NVl7pM9SzNC2dZpxhSLng2Biw_UbyLh1fLyXNZfxxlh85elKjfM36ZdJNamyNaoaAgUFQU6dRWF-iuJP5HRd_7CXCkdaoqxxXxaHQMRTI-joRSWIy33YXmp5ZKWtFObNV9GuPCWttWrkP3SLzONWlBdF2J3Jr4ymj9gHdBxVLgi-XJIiWm7lOrcCbqJcYrx6uQbLwbMqlqRys4oi3cCxEbdxIbry8pYHEz4cVkStgkKTBprloNUBpm1Y8S8A3-Hc0wlDtS3zHy1ugdxDP-SH5RWkWfysf-RAiwk-c4SvWrNDPjMF8Ab8gdRiw0FPJCbdiKvyiKECUorkbD9oGlwcp3op0DGZPa9S5HFQ9hXcFt5m00

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

microservice

                                      database

3rdparty

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.
...