[Activity][Style] Allow style with/on switch-case

0 votes
asked May 31, 2021 in Wanted features by The-Lu (64,340 points)

Hello PlantUML team,

  • Could you allow style with or on switch-case, on Activity Diagram?

Without style, OK:

@startuml
switch (test?)
case (condition A)
  :Text 1;
endswitch
@enduml


With empty style or style, we observe only today a java.lang.IllegalStateException
Here is a minimal example:

@startuml
<style>
</style>
switch (test?)
case (condition A)
  :Text 1;
endswitch
@enduml

Regards,
Th.

related to an answer for: prevent text overlap in activity switch

1 Answer

0 votes
answered Sep 11, 2021 by The-Lu (64,340 points)
 
Best answer

It is now corrected:

  • Thanks to PlantUML team.
...