Is it possible for conditionals to terminate on the same command?

0 votes
asked Aug 30, 2014 in To be sorted by bluekeys (120 points)
retagged Sep 4, 2014 by bluekeys
I am keen for an activity diagram to terminate several conditionals on the same command.

 

@startuml

start

  if (condition a)

  :condition a, b and c next step;

  elseif (condition b)

  :condition a, b and c next step;

  elseif (condition c)

  :condition a, b and c next step;

  else

  :no problem, do something else;

  endif

stop

@enduml

In the example above I end up with 3 copies of the same command, where I just want a single bubble showing the command and 3 arrows pointing to it.

Is this possible? Will it be possible in the near future?

1 Answer

0 votes
answered Sep 4, 2014 by plantuml (206,820 points)
Hello,

It's not possible yet.

However, we are thinking about implementing a Goto feature that would allow this.

(see http://plantuml.sourceforge.net/qa/?qa=1626/there-refer-existing-activity-inside-activitydiagram-goto )

So in some future, this would be possible. (However, we don't know when...)

Regards,
...