Activity Diagram can be used to model the dynamic behavior of the system, mainly to refine the use case, that is, the details inside the use case can be described in the form of an activity diagram. The activity diagram describes the sequence of activities, the flow of control between the main table activities, the internal processing-driven process, which is essentially a flowchart. Look at the basic icon first.
1.Enterprise Architec Create activity diagram
This article uses an EA to create an activity diagram of the ATM withdrawal activity.
(1) New project
File-newproject, enter the project name ATM Click OK.
Choose to set up some simple model, requirements is the requirement analysis model, analytical is the domain model, usecase is the use case model, dynamic is the behavior model, logical is the logical model. This section describes the activity diagrams in the behavior model.
2. Add an activity diagram
Right-click in the Behavior model, select AddDiagram, select activity in UML behavioral
3. Create a Withdrawal activity chart
First of all, briefly introduce the following common operating elements, the action element is generally used to describe the procedure, decision used to describe the steps of the judgment, Partition used to describe the process needs to interact with the object, such as the interactive object in this article has depositors, ATM machines and bank host.
UML Learning-Activity diagram creation