useVerticalIf and kill not working

0 votes
asked Feb 15, 2024 in Bug by lxlx (120 points)

endif
kill

not working if useVerticalIf > 2 opts or do I miss anything?

@startuml useVerticalIf
!pragma useVerticalIf on
start
if (useVerticalIf bug ?) then ( Y )
    if (2+ opts) then ( )
        :opt1;
        kill
    elseif (2+ opts) then ( )
        :opt2;
        kill
    elseif (2+ opts) then ( )
        :opt3;
        kill
    else ( )
        :opt 4;
        kill
    endif
    floating note left :kill NOK
    kill
else ( N )
    if ( 2 opts ) then ( )
        :opt1;
    else ( )
        :opt2;
    endif
    floating note right :kill OK
    kill
endif

' actually I want to use useVericalCase - but only found useVerticalIf

1 Answer

0 votes
answered Mar 8 by dickmaley (4,020 points)
Have no idea what you are asking
commented Mar 10 by The-Lu (79,040 points)

Hi all,

Here is the initial request, from the corresponding diagram:

  • How to see the not displayed left note?
  • How to don't display the last diamond, after opt. 4?

If that can help,
Regards,
Th.

...