Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the nine diagrams in UML?

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article to share with you is about UML in the 9 kinds of diagrams are which, Xiaobian think quite practical, so share to everyone to learn, I hope you can read this article after some gains, not much to say, follow Xiaobian to see it.

There are five types of diagrams in UML, and there are nine kinds of diagrams.

Introduction to UML9 diagrams

1. Use case diagram

It describes who uses the system and what can be done with it. A use case diagram contains multiple model elements, such as systems, actors, and use cases, and shows the relationships between these elements, such as generalizations, associations, and dependencies.

2. Activity chart

Demonstrate where functionality exists in the system, and how that functionality, along with the functionality of other components in the system, meets the business requirements modeled earlier using use case diagrams.

3. State diagram

State diagrams in UML9 diagrams capture the life cycles of objects, subsystems, and systems. They can inform what states an object can have and how events (such as message receipt, passage of time, errors, conditions being true, etc.) affect those states over time. A state diagram should be connected to all classes with clearly signable state and complex behavior; the diagram can determine the behavior of the class and how that behavior changes based on the current state, and can show which events will change the state of the class's objects.

4. Sequence diagram

Also called sequence diagrams, are models used to show how participants interact with the objects of a system in a series of sequential steps. Sequence diagrams can be used to show how objects interact. The sequence diagram focuses the display on the sequence of messages, i.e., how messages are sent and received between objects.

5. Class diagram

It allows us to have a comprehensive view of the system before writing code correctly. A class diagram is a type of model, specifically, a static model type. A class diagram describes a static view of the system in terms of the classes in the system and the relationships between the classes.

6. Object diagram

Object diagrams in UML9 diagrams are very similar to class diagrams, except that they do not describe the relationships between classes.

7. Collaboration Chart

Think of it as the intersection of class diagrams and sequence diagrams, collaboration diagrams modeling objects or roles, and how they communicate with each other.

8. Component diagram

UML9 diagrams Component diagrams are used to model the organization of software and their relationships to each other. These diagrams consist of component markers and relationships between components. In a component diagram, a component is a single component of software, which can be a file, product, executable, script, and so on.

9. Deployment diagram

Used to model the physical deployment of the system. Computers and devices, and how they connect. The consumers of deployment diagrams are developers, system integrators, and testers.

The above are the 9 kinds of diagrams in UML, which are believed to be some of the knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please 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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report