I would like to change the border style of a rectangle within a skinparam block.
I've tried this, but it doesn't work.
skinparam rectangle { BorderColor<<Software System>> ##[dashed]Green }
(--------)
Right now, you cannot define dashed rectangle. This only applies to links.
The only setting available beside colors is "round corner".
Working example:
@startuml skinparam rectangle { BorderColor Blue BorderColor<<Software System>> Green RoundCorner<<Software System>> 25 } rectangle rect1<<Software System>> rectangle rect2 rect1 -[dashed]-> rect2 @enduml
http://www.plantuml.com/plantuml/uml/RO-z2i9048JxUufzWHG9s8KZ98MzASLYSTSVlDkLlJj4n7St1a48cMgO-M2OBcMqN69mwNQLEnf6C3vcb7DWU3cOrAiHsw113VfGU1csxQYd_41Z69yfS_GUjiOiCxZJ8ZIe2Q-2pSQztN_nw-eLRe4qRWvggFQ4wS9qgFolw5Xe-lC1
We might improve this in the future, but it's difficult to find a nice syntax. Ideas welcome!
Regards,
Hello @rd27,
For example, here is the output (on v1.2021.11b):
But a better solution nowadays is to use [beta-]style...Regards,Th.