Class diagram with different round corners

0 votes
asked Jun 26 in Question / help by costateixeira (360 points)

How can I have two classes with rounded corners with different radius in the same diagram?

I added this in the style for the class but it doesn't work. I also tried the new/beta styling but also didn't get to do it.

skinparam class<<DA>> {
  RoundCorner 10
}

skinparam class<<CR>> {
  RoundCorner 30
}

...

class "Class1"<<CR>> {...}
class "Normal" <<DA>> {...}

http://www.plantuml.com/plantuml/png/XO-nQiD038RtUmhXFP3GeKi8QUoXNJBa1Oeugws8B1dTkM3QldjzJGis63hfxjV_VQ1ZokXvw2IaAskFZXq8A-Mn9-XDnl89RzmIHFOel--KoSbAASp0YmtQrkPA3lTXlec2AUttpSFX01y15itTTWfEvYrvRM8EPtmVf-YHS8fE6A-lNkgtPKODNolg-hAYljl-v_cXeQhBs5KppUSpF3MtsL2ApdrcKu0fscmA-OUUpJkK2ifrQ-mBAo_H8saxTF8D

commented Jun 27 by The-Lu (31,200 points)

Hello all,

This is a defect or a wanted feature, as for classRoundCorner seems to run only on global skinparam not on stereotype, see example:


[Click to see code on online server]

Adapted from:

If that can help,
Regards,
Th.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...