Please allow to round corners of elements in component diagrams

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

1 Answer

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

With last beta http://beta.plantuml.net/plantuml.jar you can have:

@startuml
skinparam componentRoundCorner 10
skinparam componentBorderThickness 0.5
component foo1
@enduml

Is this what you are looking for ?
commented Jan 14, 2018 by boshka (3,940 points)
thanks!
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 (294,960 points)
Ok.
We have added a generic parameter for many type of components in last beta http://beta.plantuml.net/plantuml.jar

You can try:
@startuml
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
@enduml

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,940 points)
Thank you! Probably notes should be affected too?
commented Jan 24, 2018 by plantuml (294,960 points)
With last beta http://beta.plantuml.net/plantuml.jar you can now have

@startuml
skinparam roundCorner 10
file file
note left : foo
@enduml

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