Using 'skinparam rectangle roundCorner' command, we can round the rectangle corners.
skinparam roundCorner 100
Above statement apply for all the elements in the given diagram
skinparam rectangle {
roundCorner<<type1>> 25
}
Above statement applies for the rectangle of stereo type type1.
roundRectangleCorner.txt
@startuml
skinparam roundCorner 100
skinparam rectangle {
roundCorner<<type1>> 25
roundCorner<<type2>> 50
roundCorner<<type3>> 75
}
rectangle "my rectangle1" <<type1>>
rectangle "my rectangle2" <<type2>>
rectangle "my rectangle3" <<type3>>
rectangle "my rectangle4" <<type4>>
@enduml
Above snippet generate below diagram.

No comments:
Post a Comment