I want to generate an activity diagram similar to the following, but with the "yes" branch of the second conditional "y?" pointing directly at the step "E". I was unable to produce this effect. Is this possible somehow?
The code:
@startuml
if (x?) then (no)
:A;
->
if (y?) then (no)
:C;
else (yes)
endif
else (yes)
:B;
endif
->
:D;
:E;
@enduml
For completeness here all the paths I want to display:
x true (y whatever): B D E
x false, y false: A C D E
x false, y true: A E