I try to arrange the components and packages as shown on the first screenshot. Is there any chance to do it like this (Screenshot 1)
Please find my current approach here (Screenshot 2)
And uml script here:
@startuml
package "packageA" {
[componentA]
}
package "packageB" {
[componentB1] - [componentB2]
[componentB2]
}
package "packageC" {
[componentC1] - [componentC2]
[componentC2]
}
package "packageD" {
[componentD]
}
componentA --> componentB1
componentA --> componentC1
componentB2 -right-> [componentD]
componentC2 -right-> [componentD]
@enduml