Aggregation relationship is represented by a straight line with an empty diamond at one end . The composition relationship is represented by a straight line with a black diamond at one end. In UML, it can exist between two or more classes. It is a part of the association relationship.
How do you show aggregation in UML?
Aggregation relationship is represented by a straight line with an empty diamond at one end . The composition relationship is represented by a straight line with a black diamond at one end. In UML, it can exist between two or more classes. It is a part of the association relationship.