UML behavior diagram (activity diagram, Statechart diagram)

Source: Internet
Author: User

The behavior diagrams of UML include: Activity diagram and State diagram

Activity diagrams and state diagrams are graphs that describe system functions from a dynamic perspective.

One: The summary of the behavioral map:

Two: The relationship between several graphs

1, the difference between the activity diagram and the state diagram

Activity diagrams focus on the behavior of the action to describe the state diagram focusing on the behavior of the results to describe

2, the difference between the activity diagram and the flowchart

(1) The activity diagram describes the sequence relation rules of the object's activities, and emphasizes the behavior of the system.

Flowchart describes the process, the main control structure is Order, branch, and cycle, each process has a strict sequence and time relationship

(2) An activity diagram can represent concurrent situations, and a flowchart cannot

(3) Activity diagram is object-oriented, flowchart is process oriented

III: Examples

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.