The diagram has more impact on business understanding rather than on implementation details. This diagram is used to model the activities which are nothing but business requirements. This high level view is mainly for business users or any other person who is not a technical person. From the above discussion, it is clear that an activity diagram is drawn from a very high level. We will now look into the practical applications of the activity diagram. These systems can be database, external queues, or any other system. This specific usage is not available in other diagrams. Activity diagram also captures these systems and describes the flow from one system to another. This control flow does not include messages.Īctivity diagram is suitable for modeling the activity flow of the system. The specific usage is to model the control flow from one activity to another. The basic usage of activity diagram is similar to other four UML diagrams. After the type of order is identified, dispatch activity is performed and that is marked as the termination of the process. The activity diagram is made to understand the flow of activities and is mainly used by the business usersįollowing diagram is drawn with the four main activities −Īfter receiving the order request, condition checks are performed to check if it is normal or special order. One important point should be clearly understood that an activity diagram cannot be exactly matched with the code. In the diagram, four activities are identified which are associated with conditions. This mental layout is then transformed into an activity diagram.įollowing is an example of an activity diagram for order management system. Once the above-mentioned parameters are identified, we need to make a mental layout of the entire flow. After identifying the activities, we need to understand how they are associated with constraints and conditions.īefore drawing an activity diagram, we should identify the following elements − An activity is a function performed by the system. The main element of an activity diagram is the activity itself. These additional capabilities include branching, parallel flow, swimlane, etc.īefore drawing an activity diagram, we must have a clear understanding about the elements used in activity diagram. Activity diagrams are not exactly flowcharts as they have some additional capabilities. The purpose of an activity diagram can be described as −ĭescribe the sequence from one activity to another.ĭescribe the parallel, branched and concurrent flow of the system.Īctivity diagrams are mainly used as a flowchart that consists of activities performed by the system. It shows different flows such as parallel, branched, concurrent, and single. Although the diagrams look like a flowchart, they are not. Activity diagram is sometimes considered as the flowchart. It does not show any message flow from one activity to another. Thing in the activity diagram is the message part. Activity diagrams are not only used for visualizing the dynamic nature of a system, but they are also used to construct the executable system by using forward and reverse engineering techniques. Other four diagrams are used to show the message flow from one object to another but activity diagram is used to show message flow from one activity to another.Īctivity is a particular operation of the system. It captures the dynamic behavior of the system. The basic purposes of activity diagrams is similar to other four diagrams. Activity diagrams deal with all type of flow control by using different elements such as fork, join, etc Purpose of Activity Diagrams This flow can be sequential, branched, or concurrent. The control flow is drawn from one operation to another. The activity can be described as an operation of the system. Activity diagram is another important diagram in UML to describe the dynamic aspects of the system.Īctivity diagram is basically a flowchart to represent the flow from one activity to anotherĪctivity.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |