(--------)
Hello A., and all,
For that you must to add more path/link for Gateways, as:
Services_CucumbersWriteService o--- Gateways_CrossEntityGateway Services_CucumbersWriteService o--- Gateways_ProductGateway
Then see the expected result:
Regards.
Or put all data on a nested rectangle, as:
@startuml left to right direction title RenderGroupInCategories rectangle { package CONTROLLER #DDDDDD { class Controllers_BulkCarrotOignonController class Controllers_GarlicCarrotController class Controllers_PastaController class Controllers_CucumberController class Controllers_PastaController } package SERVICE #DDDDDD { class Services_CarrotOignonService class Services_GarlicCarrotService class Services_AccountCarrotService class Services_PastasService class Services_CucumbersReadService class Services_CucumbersWriteService class Services_CucumbersStatusService class Services_CabbageService class Services_RiceCabbageService class Services_GarlicService class Services_EarPlugsService class Services_ItemsService class Services_ThingsService } package GATEWAY #DDDDDD { class Gateways_CrossEntityGateway class Gateways_ProductGateway } } Controllers_BulkCarrotOignonController o-- Services_CarrotOignonService Controllers_GarlicCarrotController o-- Services_GarlicCarrotService Controllers_PastaController o-- Services_AccountCarrotService Controllers_PastaController o-- Services_PastasService Controllers_CucumberController o-- Services_CucumbersReadService Controllers_CucumberController o-- Services_CucumbersWriteService Controllers_CucumberController o-- Services_CucumbersStatusService Controllers_CucumberController o-- Services_PastasService Controllers_PastaController o-- Services_CabbageService Services_PastasService o-- Services_RiceCabbageService Services_CucumbersReadService o-- Services_GarlicService Services_CucumbersReadService o-- Services_EarPlugsService Services_CucumbersReadService o-- Services_RiceCabbageService Services_CucumbersReadService o-- Services_ItemsService Services_CucumbersWriteService o-- Services_ThingsService Services_CucumbersWriteService o-- Services_EarPlugsService Services_CucumbersWriteService o-- Services_ItemsService Services_CucumbersWriteService o-- Services_RiceCabbageService Services_CucumbersWriteService o--- Gateways_CrossEntityGateway Services_CucumbersWriteService o--- Gateways_ProductGateway @enduml