Sharing Components: DRM Example
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
Vertex
{ordered}
V1
V2
V3
V5
V4
P2
P1
Polygon P1
Polygon P2
*
3..*
Vertex V1
Vertex V2
Vertex V5
Vertex V4
Vertex V3
DRM Diagram - Sheet 5
Previous slide
Next slide
Back to first slide
View graphic version