Activity Beta: Arraw Color in switch case

0 votes
asked Aug 8 in Question / help by anonymous

Hi all,

I encountered a small trouble, I cannot color the arrow for "swich case"  of "Activity beta". 

@startuml
start
switch (test?)
case ( condition A )
  :Text 1;
-[#red]->
case ( condition B )
  :Text 2;
case ( condition C )
  :Text 3;
case ( condition D )
  :Text 4;
 -[#blue]-> ending D;
case ( condition E )
  :Text 5;

endswitch
stop
@enduml

Thanks.

commented Aug 8 by The-Lu (49,760 points)

Yes it is a defect...

@PlantUML team:

Here is also overlapping on the `condition C`, see this minimal example:

@startuml
start
switch (test?)
case ( condition A )
  :Text 1;
-[#red]->
case ( <color:red>condition C )
-[#blue]-> Long text C;
case ( condition E )
  :Text E;
endswitch
stop
@enduml

See pseudo similar issue here:

Regards.

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.
...