Monday 22 January 2024

PlantUML: Round the corners of elements in a diagram

'skinparam roundCorner' command round the corners of all the elements in a diagram.

Example

skinparam roundCorner 25

 

roundCorners.txt

@startuml

title "Deployment diagram elements"

skinparam roundCorner 25

actor actor1
agent agent1
artifact artifact1
boundary boundary1
card card1
circle circle1
cloud cloud1
collections collections1
component component1
control control1
database database1
entity entity1
file file1
folder folder1
frame frame1
hexagon hexagon1
interface interface1
label label1
node node1
package package1
queue queue1
rectangle rectangle1
stack stack1
storage storage1
usecase usecase1

@enduml

Above snippet generate below diagram.



 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment