UML behavior diagram (activity diagram, State diagram)

Source: Internet
Author: User

UML's behavior diagram includes: Activity diagram and State diagram

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

A: Summary of the behavior diagram:

Two: The relationship between several graphs

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

The activity diagram focuses on describing the state diagram from the behavior of the action to describe the results of the behavior.

2, the difference between the activity diagram and the flowchart

(1) The activity diagram describes the rules of the order relationship of object activity, emphasizing the behavior of the system.

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

(2) The activity diagram can represent the concurrency situation, and the flowchart cannot

(3) Activity diagram is Object oriented, flowchart is process oriented

Three: 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.