Please allow to round corners of elements in component diagrams

0 votes
asked Dec 21, 2017 in Closed feature request by boshka (3,700 points)

1 Answer

0 votes
answered Jan 13, 2018 by plantuml (286,860 points)
selected Mar 21, 2018 by Anthony-Gaudino
Best answer

With last beta you can have:

skinparam componentRoundCorner 10
skinparam componentBorderThickness 0.5
component foo1

Is this what you are looking for ?
commented Jan 14, 2018 by boshka (3,700 points)
Generally, yes! however I was expecting this same skinparam would add round corners for all type of components where possible, like: rectangle, frame, box, folder etc.
commented Jan 17, 2018 by plantuml (286,860 points)
We have added a generic parameter for many type of components in last beta

You can try:
skinparam roundCorner 10
actor actor
agent agent
artifact artifact
boundary boundary
card card
cloud cloud
component component
control control
database database
entity entity
file file
folder folder
frame frame
interface  interface
node node
package package
queue queue
stack stack
rectangle rectangle
storage storage
usecase usecase

file / folder / package / stack remain to be done and will be implemented in the incoming days/weeks.

We have an issue with node : drawing a "round corner" node is ahead from our graphical skill :-)
I think it's possible to draw such a "rounded" node but we need some contribution here to help us. So node will remain as-is. Sorry about that!
commented Jan 22, 2018 by boshka (3,700 points)
Thank you! Probably notes should be affected too?
commented Jan 24, 2018 by plantuml (286,860 points)
With last beta you can now have

skinparam roundCorner 10
file file
note left : foo

Thanks for your tests!
commented Jan 24, 2018 by boshka (3,700 points)
many thanks, that works!