How to do this complex activity diagram?

0 votes
asked Jun 22, 2016 in To be sorted by legz (300 points)

Hi,

I would like to do this activity diagram in PlantUML :

(cheated with Paint)

I tried While and Repeat loops but I didn't manage to do such a diagram.

1 Answer

0 votes
answered Nov 15, 2019 by Pavel

```plantuml

@startuml

start

repeat

:Action A;

if (2?then (yes)

    if (4?then (yes)

        :Action D;

    else (no)

        :Action D';

    endif

    stop

else (no)

    :Action B;

    if (3?then (yes)

        :Action C;

    else (no)

        stop

@enduml

```

...