Class digraphs are graphs describing classes, interfaces, collaboration, and relationships between them.
A class diagram is a part of a static view in the system. A static view can contain many class diagrams.
Static views are used for Structural Modeling of the software system. They construct the vocabulary and relationships of the system, and the visualization of structural models is achieved through class diagrams.
A class chart consists of the
The previous blog summarized the use case diagram, in which the relationship between use cases is only included, because the relationship between use cases is not particularly profound. This is also because the UML use case diagram has not passed the acceptance of the master. The relationship between use cases must be further understood. This blog will summarize
In Visio, the relationship between a package and a class is an inclusive relationship, and after the class is dragged into the folder of the package, the relationship is established, and the two-dollar correlation symbol can be set to: aggregation, composition.Interface: Hollow Circle + Straight line (Donald Duck class to achieve ' speaking ');Dependency: Dashed + arrow (animal and air relationship);Correlation: Solid + arrows (Penguins need to know the climate before migrating);Aggregation: Hol
The use case diagram mainly includes use cases, activists, and relationships.
Use Cases: A description of the sequence of actions that the system, subsystem, or class interacts with external participants, including various normal sequences and error sequences. Case analysis can be considered as a decomposition of system functions.
How to determine the granularity of use cases:Generally, there are no mandatory requirements for a system. You only need
Overview
The relationships in a UML class diagram include:
Association, aggregation, composition, dependency, generalization, and Realization)
Association(Association)
Line representation, optional arrows,
Is a relationship in a static structure, which tends to be a data relationship. The relationships in this static structure will be stored with the storage of class files. If one class is the object of an
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.