Activity Diagram with multiple !pragma useVerticalIf with different values

0 votes
asked May 10, 2021 in Wanted features by kasra (1,000 points)

Hi,

It seems that always the last !pragma useVertical is taking into account as a global definition for an activity diagram.

@startuml 

!procedure $conditionalStructure()

 if (condition Athen (yes)

  :Text 1;

elseif (condition Bthen (yes)

  :Text 2;

  stop

elseif (condition Cthen (yes)

  :Text 3;

elseif (condition Dthen (yes)

  :Text 4;

else (nothing)

  :Text else;

endif

!endprocedure

start

!pragma useVerticalIf on

$conditionalStructure()

!pragma useVerticalIf off

$conditionalStructure()

stop

@enduml

it would be useful to have part of a diagram with a vertical conditional structure and another part having a horizontal conditional structure.

We could even have nested conditional structures with different orientations.

It permits us to have a very concise way of expressing complex structure.

If I have N conditions and each of them has M sub-conditions the diagram today is either too long or too large.

Thanks!

Best Regards,

Kasra 

commented Jul 10, 2021 by kasra (1,000 points)
Hi,

no news about this issue ?

thanks in advance.

Kasra

1 Answer

0 votes
answered Apr 7, 2022 by kasra (1,000 points)
Hi,

I keep hoping :-).

Seriously no new about this feature ?

Thanks in advance.
commented Apr 12, 2023 by kasra (1,000 points)
any updates?

Thanks
...