UML2 activity diagram case description

Source: Internet
Author: User

1. Activity diagram model based on UML2 Standard

An activity diagram can represent a business or software process in the form of a workflow through a series of operations. An activity diagram can be used to describe various types of processes:

It can represent the business flow or workflow between the user and the system;

It indicates the sequence of steps executed by a specific use case;

It can represent the interaction process between software components.

Here, we use the Trufun Plato modeling tool to describe the activity process of a use case. Specific operation steps: select the use case that has been created in the Trufun Model Browser, right-click the menu and choose "New Block Diagram"-"Create activity diagram", or select the use case for detailed activity diagram description in the current drawing area, right-click the menu and choose "New Block Diagram"> "Create activity diagram ". The following two figures

Trufun Plato UML2 modeling tool for plotting (available on www.trufun.net for free ).

Activity diagram

After creating an activity chart, the Trufun Plato tool automatically expands the drawing area and tool box of the activity chart, such as the activity Chart Tool Box provided by Trufun Plato: for the meanings and detailed operation steps of each activity element, see http://www.trufun.net/helponline/x /.

Basic activity diagram elements: Generally, an activity diagram contains activities, control flows, judgments, merges, and branches. An activity is used to represent an activity or step in a process, the control flow indicates the control sequence between activities. It is used to determine the transfer of different results produced by different conditions, and merge and branch are used between multiple parallel activities. Trufun Plato provides more than 30 activities with clear meanings according to the UML2 standard and can be selected based on the actual situation.

The creation of an activity diagram is not trivial and does not need to be comprehensive. The shared part of the activity diagram can also be used as an independent activity diagram and nested in other activity diagrams, for example, you can use the verification part of the bank card as a separate activity diagram, which is used in the user's transfer, withdrawal, query, and deposit process. For complicated processes or those who want to show all the process details in an activity diagram, It is very convenient to introduce a subactivity diagram in the activity diagram, otherwise, the activity diagram process we present will be hard to see and understand.

Different activity diagrams are used in the project requirements, analysis, and design processes, and the content to be followed and created is also different. This process can also be simply processed at the beginning of the requirement to help the participants sort out the relevant process, as shown in:

Use a partition (swimming track): In the Trufun Plato modeling tool, a partition is provided as a swimming track for activity graph division. Each swimming track represents the responsibility of a part of the entire workflow, this responsibility is performed by a certain department of the organization. The sorting between lanes does not affect its semantics. Each activity status belongs to a swimming pool, the data flow and control flow can flow between different lanes.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.