1

I want to ask that two different users are using the same system and the system depends on both of the users.Will there be a single activity diagram for both the user or will there be two activity diagram each including single user. If both then how?? Thanks in advance

Jahanzeb Awan
  • 164
  • 12

1 Answers1

2

You do that simply by adding ActivityPartitions like this:

enter image description here

The partitions are instances of/typed with the actors.

p. 418 of the recent UML 2.5.1 specs:

15.7.7 ActivityPartition [Class]

An ActivityPartition is a kind of ActivityGroup for identifying ActivityNodes that have some characteristic in common.

Community
  • 1
  • 1
qwerty_so
  • 35,448
  • 8
  • 62
  • 86
  • But the users are not depending on each other .Then will there be two starting points?? – Jahanzeb Awan May 10 '18 at 12:08
  • Isn't this swimlane diagram?? – Jahanzeb Awan May 10 '18 at 12:21
  • If so, you have two starting points. This is only an example. Partitions are UML element. You can type them. And the above are typed with the actors. Swimlanes should not be uses. They are only graphics with no real semantics. – qwerty_so May 10 '18 at 12:23
  • There's no such thing as "swimline" diagram. Swimlines are a way offered in activity diagram to depict responsibilities or other characteristics worth showing. The Swimlines going in the same direction (they might be vertical or horizontal) should depict the same kind of characteristics. – Ister May 11 '18 at 06:00
  • If the flow is totally apart for those actors then is it really a one flow? If it starts independently and then at some point the interaction/dependency/cooperation occurs then yes, you might want to depict that with two starting point. If the flows starts with one actor and then is passed to another actor then it's exactly as @thomaskilian has drawn. – Ister May 11 '18 at 06:05