backward activity style overrides diamond style

0 votes
asked Jul 19, 2024 in Bug by anonymous
First repeat loop with no style on backward activity has diamond style applied, second repeat loop with style on backward activity applies to both the activity and the diamonds as well.

@startuml

<style>
  activityDiagram {
    diamond {
      backgroundColor Red
    }
  }
  .stereotype {
    backgroundColor Blue
  }
</style>

repeat
  :stuff;
  backward:backward stuff; <<stereotype>>
repeat while (maybe)

repeat
  :stuff;
  backward:backward stuff;
repeat while (maybe)

@enduml
 

https://www.plantuml.com/plantuml/uml/bOxHoi8m38NlynIv_FyRlPzb3FK9V8DipMQnNKUREehuxifM4GGl30GIplbEqaIX8CbP01KbMwu1aJenLoFvQ6W8vF06-2njoFbHbmsnfUuo19z6VV3M1ponNfGxhBs9me6zv8aByqdiRUB5hBRbDWIUc0GGgoYfxtUmKZC5NRq6BDBgnVbiBEEVezpo_qy9gDJxnxh-4WZGyAYJimy0
commented Jul 19, 2024 by The-Lu (79,040 points)

Hello A.,

Thanks for the report, that is a bug.

I have just updated the original request here:

Regards,
Th.

1 Answer

0 votes
answered Mar 7 by dickmaley (4,020 points)

I think it is working fine

image

commented Mar 7 by The-Lu (79,040 points)

Hello all,

Yes, that is fixed since 1.2024.7

Regards,
Th.

...