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: Hollow quadrilateral + solid line + arrow (the relationship between Wild Goose and Wild Goose);
Composition: Solid quadrilateral + solid line + arrow (relationship of bird and wing);
Generalization: Hollow Triangles + solid lines (inheritance of animals and birds);
Realization: Hollow triangle + dashed line (realize the interface of Wild Goose flying);
Understanding UML Class Diagram elements