Is it possible to put text on an arrow from the "if" node to the "else if" node?

0 votes
asked Jun 28 by anonymous
The new activity diagram syntax allows for something like:

 

if (condition one?) then (yes1)

    :activity1;

elseif (condition two?) then (yes2)

    :activity2;

else (no)

    :activity3;

endif

 

The "yes1" text is on the arrow from condition one to activity one.

The "yes2" text is on the arrow from condition two to activity two.

I'm looking for a way to add some text (eg: "no1") leading from the "condition one" node to the "condition two" node. Is this possible?

1 Answer

0 votes
answered Aug 5 by laverdure (210 points)

Hi, 

it is possible to do this way (before the elseif statement): 

if (condition one?) then (yes1)

    :activity1;

(no1) elseif (condition two?) then (yes2)

    :activity2;

else (no)

    :activity3;

endif

Is it what you are looking for ?

...