UML Drawing Summary

Source: Internet
Author: User

the UML, which has been studied for so long, has a certain understanding of UML. Now a small sum, if there are mistakes, I hope you correct me. Learn together and make progress together.
"What is UML?" "
UML (Unified Modeling Language) Unified Modeling Language, is the standard modeling language for software and system development, it mainly analyzes and designs the system in a graphical way.
"What's the use of UML?" "
It can describe the needs of the system, graphically to allow users and developers, developers and users to communicate, UML diagram makes the document easier to understand, so that the design of software more in line with the requirements.

Here is a summary of some of the issues in the UML drawing process:

1. How do I create properties and methods for a class in a class diagram?
(1) Create a basic class (containing the name of the class)
(2) Right-click on the class you just created to select New Attribute to create the properties of the class.
(3) Right-click the class you just created to select New operation to create a method for the class.

2. How to draw a combination relationship (solid diamond)?

Association relationships include: aggregation relationship aggregation (hollow diamond) and composite relationship composition (solid diamond)
Aggregation is a relatively loose relationship, and the code and composition generated in Rose are the same. Rose 2003 does not provide a "composite" shape (a solid diamond), which can be resolved as follows.
(1) You can draw a aggregation (hollow) relationship first,
(2) Then right click on the relationship, open specification->role B Detail,
(3) You will find three options (by value, by Reference, Unspecified), and when you select by value, the diamond becomes solid.

3, about the UML graphics English name:

Case diagram: Use cases Diagram
Class Diagram: Diagram class
Object graph: Diagram
State diagram: Statechart Diagram
Sequence diagram: Sequence Diagram
Collaboration diagram: Collaboration Diagram
Component diagram: Component Diagram
Deployment diagram: Deployment Diagram
Activity diagram: Activities Diagram

Summary :UML is a very important step in our study, we will use it again and again. In the process of painting, just at the beginning really do not know where to start, but according to the teacher said, to do to try, met will not be on the internet to find, slowly draw out. Now the knowledge of UML is not deep enough, in the future will be more systematic in-depth study and use. Come on!

UML Drawing Summary

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.