Enterprise Architect Learning Activity Chart

Source: Internet
Author: User

in UML, activity diagrams are used to show the order of activities. Shows the workflow from the starting point to the end point, and describes the path of judgment that exists in the activity diagram in the event process. Activity diagrams can be used to describe in detail the parallel processing that occurs in some activity executions. Activity diagrams are also useful for business modeling, and are used to describe the process that occurs in a business activity in detail.

An example of an activity diagram is shown below:

The elements that make up the activity diagram are described below.

1.1.1.1. Activities

Activity is the specification of the sequence of behavior parameterization. An activity is represented as a rounded rectangle that contains all the actions, workflows, and other elements that make up the activity.

1.1.1.2. Action

An action represents a step in the activity. The action is represented by a rounded rectangle.

1.1.1.3. Action constraints

Actions can be accompanied by constraints, showing an action with preconditions and post conditions.

1.1.1.4. Control Flow

The control flow shows the flow of an action to the next action. Represents a solid line with arrows.

1.1.1.5. Initial node

A starting or starting point is represented by a large black dot, such as.

1.1.1.6. End Node

There are two types of end nodes: The active end node and the flow end node. The active end node is represented as a ring with black dots in the center.

The flow end node is represented as a ring with a cross inside.

The difference between these two different types of nodes is that the flow end node indicates the end point of the individual control flow. The end end of the activity is the end of all control flows within the activity diagram.

1.1.1.7. Object and Object Flow

Object flow is the channel through which objects and data are transmitted. The object is displayed as a rectangle.

The object flow is displayed as a connector with arrows indicating direction and passed objects.

An object flow has an object at least one of its endpoints. In, a shorthand column with input and output pins can be used.

The data store is displayed as an object with the «datastore» keyword.

1.1.1.8. Judging nodes and merging nodes

The Judgment node and the merge node are the same callout: diamond. They can be named. The control flow from the judging node has the condition of guardianship and can be controlled by convection when the monitoring condition is satisfied. Shows the use of the Judgment node and the merge node.

1.1.1.9. Bifurcation and Bonding nodes

Forks and Union nodes have the same column: vertical or horizontal bars (the direction depends on whether the workflow is left to right or top to bottom). They illustrate the starting and ending points of the controlled concurrent threads, showing their use examples.

The difference between a combined node and a merge node is that the node synchronizes two inputs, resulting in a single output volume. The output from the binding node will not be executed until it receives all of the input amount. The merge node passes the control flow directly through. If two or more inputs reach the merge node. The specified action of its output stream is executed two or more times.

1.1.1.10. Extended Domain

An extended domain is a structured active domain that executes multiple times. The input and output expansion nodes are represented as a set of "3 compartments " representing multiple selections. The keyword "iterative", "parallel" or "stream" appears in the upper-left corner of the area.

1.1.1.11. Exception handlers

The exception handler can be modeled in the activity diagram.

Descriptive: The protected node (Protectednodes) is an activity that first draws adependent linker (Exception Handlernode) from the protected node to the exception handler( Dependency), then right-clickon the linker and select Advanced → change type Open the Select linker type (selectConnectortype) window and select theinterrupt flowtype to confirm the completion.

1.1.1.12. Interruptible Active Area

An interruptible activity area wraps around a set of actions that can be interrupted. In the very simple example below: When the control is passed to the close order action, the Order Processing "process order" action is executed until completion, unless the cancel request interrupt is accepted, which will pass control to the "cancel Order "action.

1.1.1.13. Partitioning

An active segment is displayed as a vertical or horizontal swimlane. In, the split is used to separate the action in the activity diagram, which is performed in "accounting Department" and is performed in "Customer".

Enterprise Architect Learning Activity Chart

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.