Create a sequence diagram for adding a match to the Cricinfo system.
We'll cover the following
Sequence diagrams are a great way to understand the interactions between different entities and objects in the system. There can be different sequence diagrams that we can create for the Cricinfo system. In this lesson, we will create a sequence diagram for the following interaction:
Add a match:Â The admin adds a new match to the system.
Add a match
The sequence diagram for adding a match should have the following actors and objects that will interact with each other:
Actors:
Admin
,Umpire
, andCommentator
Objects:
Match
andStadium
The steps involved in adding a match are listed below:
The admin creates a new match of a specific match type.
The admin adds the playing teams for the match.
The admin assigns a stadium to the match.
The admin assigns an umpire to the match.
The admin assigns a commentator to the match.
Based on the order above, the sequence diagram for adding a match in the Cricinfo system is provided below: