UML diagram-behavior diagram

Source: Internet
Author: User

System Modeling must be described in terms of system structure and behavior,Static diagram based on the previous UML diagramBlog learning, we canDrawStatic structure of software systemsIn this case, how should we deal with its behavior activities? This article will be used hereArticleInvolvedUMLThe behavior graph is displayed.

 

A behavior diagram is used to describe the interaction between the dynamic model of the system and objects. It consists of three types: status chart, activity diagram, and interaction diagram.

 

Status chart (Statechart diagrams):It is used to describe all possible states of the object of the class and the transfer condition of the State when an event occurs.

 

Activity diagram (Activity Diagrams):Describes the activities that meet the requirements of the use case and the constraints between the activities. It should be particularly emphasized that the use of activity graphs is conducive to identifying parallel activities of the system.

 

Interaction diagram:As the name suggests, it is used to describe the interaction between objects. It also includes the sequence diagram and collaborative drawing. A sequence diagram describes the interaction sequence between objects, which mainly reflects the time sequence of message passing between objects. A collaboration diagram describes the cooperative relationship between objects, and focuses more on the objects that have message passing. The sequence diagram and co-drawing are equivalent and can be converted to each other.

 

It is an introduction to some knowledge points of the three types of graphs, which can help beginners understand them as soon as possible.UMLGraph.

 

 

According to the role of the three diagrams, most of their applications are in the design phase of the software development process, which can help us to quickly and clearly understand the system's behavioral activity status.

 

The above is a brief introduction to the behavior chart.We look forward to your suggestions and comments.-- UMLImplementation diagram of the figure!

 

For the author information, see:Http://sldhhy.blog.163.com/

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.