The basic structure of UML.
Several types of relationships in UML: inheritance, implementation, dependency, association, aggregation, and combination.
Use case diagram (usecase di#)-UML diagram (1)
Class digraphs-UML diagram (2)
Object digraphs-UML diagram (3)
Activity digraphs-UML diagram (4)
Statechart divisor-UML diagram (5)
Sequence diagram-UML diagram (6)
Colcollaboration diagram-UML diagram (7)
Component diagram-UML diagram (8)
After learning UML, we have compiled the above UML summary structure diagram, mainly UML things, UML relations and UML diagrams. There are also many specifications, symbols, and modifiers, the Extended Mechanism and other elements are not reflected. In fact, the three blocks in the figure, coupled with so many elements with sides and corners, are highly concentrated. The main content of the UML course can be described as follows:
In the software life cycle, the UML thing and UML relationship are accurately combined by certain rules, and 9 types of UML diagrams are drawn using rose to help us develop high-quality software.
In short, the application of the nine types of UML diagrams in each stage of the software life cycle is mainly reflected in:
1. In the demand analysis stage, the requirements (roles, functions, external interactions, etc.) are described using the use case diagram );
2. In the analysis phase: the problem solving details are clearly defined. class diagrams are used to describe the static structure, and sequence diagrams, collaboration diagrams, activity diagrams, and state diagrams are used to describe the dynamic behavior of the system;
3. In the design phase: the solution is provided. class diagrams and packages are used to design class interfaces;
4. In the implementation phase, classes are implemented in an object-oriented language;
5. Test phase: unit test class diagram and class specification. Class Diagrams, packages, component diagrams, and collaborative diagrams are used for integration testing. Use Case charts to test system functions;
6. Integration and delivery phase: the component diagram, package diagram, and deployment diagram are mainly used;