Reputation: 9958
To create a rectangle, I can simply rectangle "Rectangle Label" as RectangleName
, but how to make its border dashed? like below?
Upvotes: 9
Views: 13714
Reputation: 2470
@startuml
agent a
cloud c #pink;line:red;line.bold;text:red [
c
cloud description
]
file f #palegreen;line:green;line.dashed;text:green {
[c1]
[c2]
}
frame frame {
node n #aliceblue;line:blue;line.dotted;text:blue
}
@enduml
Reference > https://plantuml.com/deployment-diagram
Upvotes: 2
Reputation: 9958
Add #line.dashed
at the end of the statement:
rectangle "Rectangle Label" as RectangleName #line.dashed
Upvotes: 16