In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly shows you "which diagrams are included in UML object-oriented". The content is simple and clear. I hope it can help you solve your doubts. Let me lead you to study and learn "which diagrams are included in UML object-oriented".
Which graphs are included in UML object-oriented and the function of each graph
There are nine kinds of diagrams in UML: use case diagram, class diagram, object diagram, state diagram, sequence diagram, collaboration diagram, activity diagram, component diagram and configuration diagram.
1 use case diagram (UseCaseDiagram)
It is the simplest and most complex graph in UML. It is simple because it adopts the object-oriented idea and is based on the user's perspective, so it is very easy to draw and the simple graphical representation is easy for people to understand. It is complex because use case diagrams are often not easy to control, either too complex or too simple.
Use case diagrams represent roles and use cases and the relationship between them.
Class 2 graphs (ClassDiagram)
UML object-oriented is one of the most commonly used diagrams, class diagrams can help us to more intuitively understand the architecture of a system. Through the class diagram represented by relationships and classes, the design part of a system can be described graphically.
3 object graph
An object diagram in UML object-oriented is an instance of a class diagram, using almost the same identity as the class diagram. The difference between them is that the object graph shows multiple object instances of the class, not the instance class. An object diagram is an instance of a class diagram. Because the object has a life cycle, the object graph can only exist for a certain period of time in the system.
4 state diagram
Describes the dynamic behavior of an entity based on event response, showing how the entity reacts to different times according to its current state. A UML state diagram is usually created for the following research purposes: to study the complex behavior of classes, roles, subsystems, or components.
5 sequence diagram
Also known as sequence diagram, it describes the dynamic interaction between objects, focusing on the time sequence of message transmission between objects.
The sequence diagram consists of a group of objects, each with a vertical line, called the lifeline of the object, which represents the timeline, and time extends downward along the vertical line. UML object-oriented sequence diagrams describe how these objects exchange messages with each other over time. Messages are represented by horizontal arrows that point from the vertical lifeline of one object to the lifeline of another object. You can also add a description of the time and other notes as needed.
6 collaboration diagram
UML object-oriented collaboration diagrams are used to show the spatial organization structure of components and their interactions, and it does not focus on the order of interactions. The collaboration diagram shows the organizational interactions between the objects in the interaction and the links between the objects. Unlike sequence diagrams, collaboration diagrams show the relationships between objects. On the other hand, the collaboration diagram does not treat time as a separate dimension, so the sequence number determines the order of messages and concurrent threads. A collaboration diagram is a cross product between a symbol diagram and a sequence diagram, which uses numbered arrows to describe a specific scheme to show the movement of messages throughout the scheme.
The purpose of the collaboration diagram:
The specific scheme is reflected by depicting the movement of messages between objects.
Displays the spatial organization of objects and their interactions, rather than the order of interactions.
7 activity Diagram (ActivityDiagram)
UML object-oriented UML activity diagrams record the logic of a single action or method, a single user case, or the logic of a single business process. Describes the execution order of various activities in the system, usually used to describe the execution flow of the activities to be carried out in an operation. At the same time, it is often used to describe the processing flow of a use case, or some kind of interaction flow.
The activity diagram consists of a number of activities, and a description of these activities is included in the diagram. When an activity is completed, the control moves to the next activity along the control transfer arrow. The conditions of control transfer and the requirements of parallel execution can also be easily described in the activity diagram.
8 component diagram (ComponentDiagram)
Component diagrams are used to reflect the physical structure of the code. From the component diagram, you can understand the compiler and runtime dependencies between software components, such as source code files or dynamic link libraries. Using component diagrams, you can divide the system into cohesive components and show the structure of the code itself.
The main purpose of component diagram is to show the structural relationship between system components.
9 configuration diagram
UML object-oriented configuration diagram describes the physical configuration and system architecture of hardware and software in the system.
In the configuration diagram, the actual physical devices, such as computers and various external devices, are represented by nodes, and the corresponding nodes are connected according to the connection relationship between them, and the connection mode is explained. In the node, describe the executable components or objects assigned to run on the node, thus indicating which software units are assigned to run on which nodes.
The above is all the content of the article "what diagrams are included in UML object-oriented". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.