Salt in activity (beta) diagrams

0 votes
asked Jul 24, 2021 in Question / help by Peter
All

I can (and do) include salt figures/diagrams in the legacy activity diagrams, mainly to show sequences of GUI actions. However, searching the forum and Google to no avail,  I was not able to achieve this using the new activity beta syntax.

Am I missing something or is it not possible (yet). In the second case … this could be considered a feature request.

Thanks in advance and Best regards

1 Answer

0 votes
answered Jul 24, 2021 by The-Lu (63,920 points)

Hello P.,

You can, see one example here:

But it is only currently on inline mode (awaiting the multi-line mode of Activity diagram), like:

@startuml
start
repeat :read data;
  :generate diagrams;
repeat while (\n{{\nsalt\n{^"Next step"\n  Do you want to continue? \n[Yes]|[No]\n}\n}}\n)
stop
@enduml

If that can help,
Regards,
Th.

commented Jul 25, 2021 by Peter

thanks -  figured I was missing out in something.

However - pretty ugly this way, isn‘t it smiley?

In fact multi-line mode get‘s my vote and will be much appreciated!

Best regards 

Peter

commented Jul 25, 2021 by The-Lu (63,920 points)

Hello P.,

If you want you can voting for 'while/if/repeat multi-line mode' (and especially to include them sub-diagram or salt...) on:

Regards,
Th.

...