I've looked at using a node, instead of a rectangle to more closely match the specification (ref: http://pubs.opengroup.org/architecture/archimate3-doc/chap10.html#_Toc489946103) for a Technology: Device type, and it looks really good - except for the placement of the sprite, (see below) - is there a way to use a skinparam for changing the placement of a sprite?
@startuml
skinparam rectangle {
Shadowing False
}
skinparam node {
Shadowing False
StereotypeAlignment right
}
skinparam rectangle<<behavioural>> {
RoundCorner 10
}
rectangle "Technology Interface" as TInterface <<$archimate/interface>> #TECHNOLOGY
rectangle "Technology Function" as TFunction <<$archimate/technology-function>> <<behavioural>> #TECHNOLOGY
node "Technology Device" as TDevice <<$archimate/technology-device>> #TECHNOLOGY
@enduml
Also, nesting causes the correctly positioned sprites to be centered as well:
@startuml
skinparam rectangle {
Shadowing False
}
skinparam node {
Shadowing False
StereotypeAlignment right
}
skinparam rectangle<<behavioural>> {
RoundCorner 10
}
node "Technology Device" as TDevice <<$archimate/technology-device>> #TECHNOLOGY {
rectangle "Technology Function" as TFunction <<$archimate/technology-function>> <<behavioural>> #TECHNOLOGY {
rectangle "Technology Interface" as TInterface <<$archimate/interface>> #TECHNOLOGY
}
}
@enduml