Sharing Components
Class diagrams (left) define rules.
Object diagrams (right) follow those rules.
Vertices can be shared by Polygons, because
a Vertex can be a component of 0 or more Polygons.
Polygon
Base Vertex
{ordered}
V1
V2
V3
V5
V4
P2
P1
Polygon P1
Polygon P2
Vertex V1
Vertex V2
Vertex V3
Vertex V4
Vertex V5
Vertex
Vertex with Component Indices
*
3..*
Previous slide
Next slide
Back to first slide
View graphic version