Skinparam rectangle not working in Activity beta

0 votes
asked Nov 19, 2018 in Bug by aho (240 points)


in it was implemented that on could use rectangle in Activity beta. I thought for asking for a Action like shape for grouping. But this could easily be archived with formatting rectangle which would give further possibilies to the user. Therefore I ask for the support of formatting rectangles in Activity beta.

Example code:

skinparam  rectangle {
    RoundCorner<<action>> 25
    BackgroundColor<<action>> LemonChiffon
    BorderColor<<action>> FireBrick
hide stereotype
rectangle <<action>> outerAction {

The support of stereotypes would allow to format rectangles representing objects differently from those representing actions.

Version used: 1.2018.11

Thank you in advance

1 Answer

+1 vote
answered Nov 19, 2018 by plantuml (201,280 points)
selected Nov 20, 2018 by aho
Best answer

Ok, so let's start to add stereotype support in Beta Activity Diagram.

With last beta version you can have:

skinparam  rectangle {
    RoundCorner<<action>> 25
    BackgroundColor<<action>> blue
    BorderColor<<action>> red
skinparam  rectangle {
    RoundCorner 10
    BackgroundColor yellow
    BorderColor green
rectangle outerAction1 <<action>> {
rectangle outerAction2 {

Is this what you are looking for ?

commented Nov 20, 2018 by aho (240 points)
Yes, fantastic. Didn't expect it to be implement that fast.

Thanks a lot.

One comment:
It is not needed to add
hide stereotype

This differs from the class diagram. Although I am fine with it, it feels inconsistent. Is this intended behavior?