UML Nine kinds of diagrams

Source: Internet
Author: User

Directory:

      1. Views of UML
      2. Nine types of UML diagrams
      3. The relationship between classes in UML

In this article, we present a view of UML that contains one or more diagrams in each view. This article focuses on the details of each diagram in UML:

1. Case diagram (use cases diagrams)

"Concept" describes the user's needs and describes the functions of the system from the user's perspective.

The "Descriptive Way" ellipse represents a use case; a humanoid symbol denotes a role

"Purpose" helps group development teams understand the functional requirements of the system in a visual way

"Use case diagram"

2. Static diagram

        1. Class diagram (class diagrams)

"Concept" shows the static structure of the system, indicating how different entities are associated

"description" three rectangles

"Purpose" represents a logical class or implementation class, which is usually the object of the user's business; The implementation class is the entity that the programmer processes

"Class Diagram"

          

        1. Object graph (Diagrams)

An example of a "concept" class diagram that describes the objects that the system contains at a specific point in time and the relationships of the individual objects

"Object Graph"

          

         

3. Interactive diagram

Used to describe the interaction between objects

        1. Sequence diagram (sequence diagram)

"Concept" describes the order of interactions between objects, emphasizing the chronological order of message passing between objects

"description" spans the top of the graph, each of which represents an instance or an object for each class, and the class instance name and class name are separated by colons

The purpose displays the call relationships between different objects in the process, and can also display different calls to different objects.

"Sequence Diagram"

          

        1. Collaboration diagram (collaboration diagrams)

"Concept" describes the partnership between objects, focusing on message passing between objects

4, Behavior diagram: Describe the dynamic model of the system and the interaction between the objects

1. State diagram (Statechart diagrams)

"Concept" describes the transition between all States of an object and the state caused by the occurrence of an event

"How to Describe"

        1. Starting point: Solid Circle
        2. Transitions between states: segments with open arrows
        3. Status: Rounded Rectangle
        4. Judging point: Hollow Circle
        5. One or more end points: a circle with a solid circle inside it

"Purpose" indicates the different states in which a class is located and the process in which the class is converted in these states

2. Activity Map (diagrams)

"Concept" describes the activities that are required to meet the use case requirements and the constraints of the active time

"How to Describe"

        1. Starting point: Solid Circle
        2. Activity: Rounded Rectangle
        3. End point: a circle with a solid circle inside it
        4. Swimlane: The object that actually executes the activity

"Purpose" represents the process control process between two or more objects when an activity is processed

"Activity diagram"

Activity diagram and state diagram differences:

5. Realization diagram

        1. Component Diagram (Component diagrams)

"Concept" describes the physical structure of code artifacts and the dependencies between components

Description Method Widget

"Purpose" provides a physical view of the system, displaying the entire physical structure of the system code according to the code component of the system

"Architecture Diagram"

        1. Deployment diagram (Deployment diagrams)

Physical architecture of hardware in a "conceptual" system

"How to Describe"

        1. Three-dimensional cubes represent parts
        2. Node name in Upper Cube

"Purpose" displays the physical structure of the system's hardware and software

"Deployment Diagram"

Nine UML diagrams to this end, the next article specifically for you to explain the relationship between the classes in UML, thank you for your visit.

(GO) original address: http://blog.csdn.net/jiuqiyuliang/article/details/8552956

UML Nine kinds of diagrams

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.