0
1.2kviews
Describe joining and forking in an activity diagram.

Subject: Object Oriented Modeling and Design

Difficulty: Medium

Marks: 4 Marks

1 Answer
0
10views

Joining:

  • A joining may represent the synchronization of two or more concurrent flows of control. A joining can have two or more incoming transitions and one outgoing transition.
  • Above the joining, the activities associated with each of these paths continue in parallel.
  • At the joining, the concurrent flows synchronize, meaning that each waits until all incoming flow have reached the joining, at which point one flow of control continues below the joining.
  • The notation for a joining is a line segment with several activity edges entering it, and only one edge leaving it.

enter image description here

Forking:

  • A forking can represent the splitting of a single flow of control into two or more concurrent flows of control.
  • A forking can have one incoming transition and two or more outgoing transitions, each of which represents an independent flow of control.
  • Below the forking, the activities associated with each of these paths continue in parallel i.e.concurrently. - - The notation for a forking is a line segment with a single activity edge entering it, and two or more edges leaving it.

enter image description here

Example:

enter image description here

Please log in to add an answer.