Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Round corners in component diagram

0 votes
I am using the component diagram to draw arbitrary rectangles.
I want to have rounded corners as seen as bellow.
Currently it doesn't seem to work. I think it would be fairly simple to fix though.
Is it possible to fix/add this?


rectangle "Concept Model" {
    rectangle "e" <<Concept>> as e
}


skinparam rectangle {
    roundCorner<<Concept>> 5
    backgroundColor<<Concept>> White

}
asked Dec 13, 2016 by anonymous

1 Answer

0 votes

Sure, we like the idea!
So with last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

You can have:

@startuml
skinparam rectangle {
    roundCorner<<Concept>> 25
    roundCorner<<Foo>> 45
    backgroundColor<<Concept>> White
}

rectangle "Concept Model" <<Foo>> {
    rectangle "e" <<Concept>> as e
    rectangle "F"
}
@enduml


This has not been widely tested, so feedback welcome!

answered Dec 13, 2016 by plantuml (113,980 points)
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...