In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces what are the nine basic UML model diagrams, which have a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand.
Nine basic UML model diagrams
From different angles of examining the system, UML defines different model diagrams.
1 use case diagram
Use cases describe the functions of the system and external users, that is, determine who uses the system and what to do with the system. A use case is a description of the functions provided by the system, and the executors are those who may use the use case or an external system. The relationship between the two describes "who uses which use case" use case diagram focuses on describing what functions the system requirements provide from the point of view of the external executor of the system, and indicates who is the user of such a system.
Class 2 diagram
The class diagram in the UML model diagram describes the static architecture of the system, the classes that make up the system, and the relationship between the classes. The class diagram is used to describe the class model, the design of the overall structure of the system and the implementation of the code. The class model is similar to the data model, and a responsibility-oriented class model should be developed. Classes are objects that have the same properties and behavior. Object is a high degree of abstraction of all kinds of things or concepts in the real world. Everything can be regarded as an object with certain attributes and dynamic behavior. There are many different relationships between classes. Interrelationships (such as message delivery), dependencies (one class depends on or uses another class), specialization (one is a special case or subset of another class), packages (merging some classes into one package). All these relationships as well as the properties and behavior of the class can be clearly described in the class diagram, which is suitable for all stages of software development.
3 object graph
An object graph is an instantiation of a class that describes the objects and relationships that a system may contain at a certain time. An object diagram shows that the corresponding class diagram is a concrete example, that is, the specific object instances that the system may exist in a certain period or at a particular time and the specific relationship between them.
4 state diagram
A state diagram is a supplementary description of a class, which shows all the possible states of such objects and their state transitions when some events occur. A change in state is called a transition. The state transition can be accompanied by an action that indicates what the system will do when the transition occurs.
5 sequence diagram
Sequence diagrams describe the dynamic cooperative relationship between several objects. The key point of sequence diagrams in UML model diagrams is that they directly show the time sequence of messages transmitted between objects and reflect a specific interaction process between objects. Such as something that happens at a particular time during the execution of the system.
6 cooperation map
Cooperative graph is another representation of object graph, which describes the objects in the system and their communication relationships.
7 activity diagram
Activity diagrams describe the execution sequence of various activities in the system. Activity diagrams in UML model diagrams are usually used to describe the processing flow of various activities to be carried out in an operation, or some interactive flow.
8 component diagram
Component diagrams describe the organizational structure of program code. The build can be a source code component, a binary target component, an executable component, or a document component. Component diagrams show the dependencies between various components.
9 configuration diagram
The configuration diagram describes the physical configuration and system architecture of the hardware and software in the system. When analyzing and designing a model in UML, you should try to avoid transforming the model into a specific programming language.
Thank you for reading this article carefully. I hope the article "what are the nine basic UML model diagrams shared by the editor" will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.