Hello,
I would like to combine horizontal and vertical IF structure.
Something like that :
@startuml
start
if (condition A) then (yes)
!pragma useVerticalIf on
if (condition A) then (yes)
:Text 1;
elseif (condition B) then (yes)
:Text 2;
stop
elseif (condition C) then (yes)
:Text 3;
elseif (condition D) then (yes)
:Text 4;
else (nothing)
:Text else;
endif
!pragma useVerticalIf off
elseif (condition B) then (yes)
:Text 2;
stop
elseif (condition C) then (yes)
:Text 3;
elseif (condition D) then (yes)
:Text 4;
else (nothing)
:Text else;
endif
stop
@enduml
result.
As you can see, Everything is Horizontal. I would like the nested conditional structure being Vertical.
Is it Possible to do that?
Thanks,
Kasra