Activity diagram - Colors for FORK

0 votes
asked Aug 23, 2022 in Question / help by Pb

Hi,

Im trying to do something like this. The problem is that despite using colored arrow and style left arrow is still black (example 1). But when i add one additional activity field into the schema it starts to work. (example 2)

Is there any way to color this arrow without additional field?

Example 1


 

@startuml

skinparam ConditionEndStyle hline

<style>

arrow{

LineColor blue

}

</style>

start

repeat

:;

fork

-[#blue]->

fork again

-[#green]->

if (question) then (no) 

-[#green]->

:action;

-[#green]->

else (yes)

-[#green]->

endif

-[#green]->

end

end merge

@enduml

Example 2

@startuml

skinparam ConditionEndStyle hline

<style>

arrow{

LineColor blue

}

</style>

start

repeat

:;

fork

:additional activity;

-[#blue]->

fork again

-[#green]->

if (question) then (no) 

-[#green]->

:action;

-[#green]->

else (yes)

-[#green]->

endif

-[#green]->

end

end merge

@enduml

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