7

Hi i want to make a uml diagram with some parallel interactions like this, using plant uml.

But i don't know if it is possible to add the dotted lines between the 'threads'. What i have so far is the following. A is sending something that is picked up and acted on by b, c and d at the same time. Is it possible to add dotted lines between b, c and d?

group par
  activate a
  a -> b: doSomething

  a -> c: doSomething

  a -> d: doSomething
end
Stephan Hogenboom
  • 1,543
  • 2
  • 17
  • 29
  • Wouldn't an activity diagram be a better fit for parallel actions (as in using forks and joins)? – A P Jul 12 '23 at 08:34

1 Answers1

15

You can add the else keyword to separate the threads :

par
  activate a
  a -> b
else
  a -> c
else
  a -> d
end

enter image description here

khalito
  • 971
  • 5
  • 22