Hi,
What I'm basically trying to achieve is to reuse a group of elements multiple times. for example:
actor User
!definelong MyGroup(XX)
rectangle "Foo XX" {
component "API" as api_XX
component "Service" as service_XX
api_XX --> service_XX
service_XX --> api_XX
}
!enddefinelong
MyGroup(1)
MyGroup(2)
User --> api_1
User --> api_2
Where the end result would be a User component with arrows to 2 separate rectangles that have the same look and names of components, except their variable names would be different.
This is useful in cases where the architecture design has a scaled out set of components.