Getting Started with UML visual language

Source: Internet
Author: User

1.UML includes the following block diagram

Class diagrams, object graphs, use case diagrams, Sequence diagrams, collaboration diagrams, State diagrams, component diagrams, activity diagrams, deployment diagrams, mainly using functional models (such as use case diagrams), object models (such as class diagrams), dynamic models (such as sequence diagrams, activity diagrams, State diagrams)

2. Relationships between classes (amaterasuml_1.3.4 tool for Legends)

Generalization relationships

The generalization relation in UML is also the inheritance relation. An inheritance relationship is represented by a solid hollow arrow that points from a subclass to a parent class.

To implement a relationship:

Aggregation relationship: The relationship between the whole and the local, if not the whole, the local can still exist alone

Combined relationship: The relationship between the whole and the part, if there is no whole, the local can not exist alone

Dependency: A dependency is an association of the weakest object relationships and is a temporary association.

Association relationship: A reference relationship between objects

Note: Some are indicated by using solid arrows.

3. Use case diagram: Relationship between use cases, include relationship include, extended relationship extend, association relationship, generalization relationship

Some of the correlation relationships are represented by a solid arrow

4. Class diagram: Shows the static structure of the system, mainly including classes: the upper layer of the rectangle represents the class name, the middle representation attribute, the underlying representation method, the abstract class is represented by italics, and the relationship between class and class

5. Object graph

Describe the relationship between a set of objects

6. Sequence diagram: Express detailed process, horizontal dimension displays the process of sending messages between objects, vertical dimension: Displays the chronological order of messages sent.

7. Collaboration diagram: Same as the time series diagram contains information

8. State diagram: Represents the different states in which an object is in its life cycle, and the transition process between states

9. Component diagram: The main purpose is to show the relationship between software systems and components

10. Activity diagram: A special state diagram that enables the flow of one activity to another

11. Deployment diagram: How to deploy to an application environment

There are a lot of 12.UML visualization tools, slightly different in terms of expression, but similar in terms of use, amaterasuml_1.3.4 is used here.

Installation

Before installing, you need to check whether the GEF is already installed, can be viewed in (Help-about Eclipse), now the new version of the IDE is already installed, if not installed, the network has the appropriate installation method, installed after the GEF, and then the Amaterasuml_ The 1.3.4 plug-in package is copied to dropins in the Eclipse installation directory. Most of this kind of software has anti-compilation capabilities, but it's not very accurate.

Getting Started with UML visual language

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.