Hello,
it seems that the command !pragma useVerticalIf on is applied globally in the whole diagram
If I have two conditional structures with several tests on each is it possible to use
!pragma useVerticalIf on for the first one
and disable the useVerticalIf command for the second?
@startuml
!pragma useVerticalIf on
start
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)
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
else (nothing)
:Text else;
endif
stop
the case above is a nested conditional structure.
This would be really useful for expressing nested cases concisely.
Thanks