Is it possible to have multiple start processes in parallel in the same swimlane in an activity diagram?

0 votes
asked Jan 23 in Question / help by AbhiramiAnand (160 points)

1 Answer

0 votes
answered Jan 23 by The-Lu (62,540 points)

Hello A., and all,

For that you can use split, as:

@startuml
|A|
split
   -[hidden]->
   start
   :A;
split again
   -[hidden]->
   start
   :a;
   :b;
split again
   -[hidden]->
   (Z)
end split
|B|
:D;
@enduml

See also doc. here:

If that can help,
Regards,
Th.

commented Jan 23 by AbhiramiAnand (160 points)
Thank you very much! really helps!
commented Jan 23 by AbhiramiAnand (160 points)

I have one more question, can I link a state to one on another swimlane and one state on the same swimlane? Here, I want line 1 box to be directed to line 3 in swimlane B and directed downwards to line 4 in swimlane A. Is that possible?

|A|

split

-[hidden]->

    start

    :line1

   

split again

-[hidden]->

    start

: line 2

end split

|B|

:line3

detach

|A|

:line 1

:line4

...