You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your example MyStruct1 is a part of MyStruct2. In particular the lifetime of MyStruct1 instances that are associated that way to MyStruct2 instances depends on the lifetime of the MyStruct2 instance. This make the association a composition where MyStruct2 is the composite and MyStruct1 is the component. For a composition the filled diamond is at the association end that touches the composite. I.e. in PlantUML MyStruct2 *-- MyStruct1.
Take the example from the UML specification v2.5.1; Figure 11.5 showing a class "Car" and a class "Wheel". There the diamond is at the Car.
The text was updated successfully, but these errors were encountered:
In your example
MyStruct1
is a part ofMyStruct2
. In particular the lifetime of MyStruct1 instances that are associated that way to MyStruct2 instances depends on the lifetime of the MyStruct2 instance. This make the association a composition where MyStruct2 is the composite andMyStruct1
is the component. For a composition the filled diamond is at the association end that touches the composite. I.e. in PlantUMLMyStruct2 *-- MyStruct1
.Take the example from the UML specification v2.5.1; Figure 11.5 showing a class "Car" and a class "Wheel". There the diamond is at the Car.
The text was updated successfully, but these errors were encountered: