no else-case

0 votes
asked Sep 3, 2019 in Wanted features by knaifhogg (160 points)

Hi,

If possible, it would be nice to be able to remove the else arrow if it's not needed. See below:

if (One) then (Yes)
elseif (Two) then (Yes)
endif

A suggested use would be

if (One) then (Yes)
elseif (Two) then (Yes)
else
detach
endif

Thanks.

commented Nov 12, 2019 by knaifhogg (160 points)
Any thoughts on this?

Thanks.

1 Answer

0 votes
answered Jul 3, 2023 by anonymous
if (passed shield 13) then (yes)

:do something;
else
-[hidden]->
endif
commented Jul 3, 2023 by The-Lu (63,920 points)

Hi all,

With this method (using hidden arrow), we obverse:

@startuml
start
if (One) then (Yes)
elseif (Two) then (Yes)
else
-[hidden]->
endif
end
@enduml

It remains an horizontal extra piece of arrow..

Regards,
Th.

...