activity diagram multiple repeat backward to the same label

0 votes
asked 3 days ago in Question / help by anonymous

Hi,

is it possible with activity diagram to have multiple repeats and the backward will return to the same label ?

Like here:

https://www.plantuml.com/plantuml/umla/SoWkIImgAStDuG8pk8fI2r8JInIiYXDpKnLo4fDISwonYYaeM1Mb9gOef2IM95fp9IKcPvSd5gLOXMHa5Yi04Km0hhay8pCdLK4ZDxye5Qp7NXEaJACojLYJIzSkBvywPZYavgK0_G80

The "more data" should go to the "same label" and not to each of its own same label

@startuml
start
repeat :same label;
repeat :same label;
  :read data;
backward:This is backward;
repeat while (more data?) is (yes)
->no;
backward:This is backward;
repeat while (more data?) is (yes)
->no;
@enduml

1 Answer

0 votes
answered 3 days ago by The-Lu (76,960 points)

Hi A.,

From:

Point out on the same label: That is currently not yet implemented.

But here are some workarounds:

Or:

If that can help,

Regards,
Th.

...