OOPortal OOPortal


Object Diagrams  «Prev 

Triangle Object Diagram in UML

Draw an object diagram to represent Triangle 1 with Points A,B, and C. Draw an object to represent Triangle 1, name the object, and document the attribute value.

Draw an object to represent Point A, name the object, and document the attribute values.

Add Points B and C, name them and add the attribute values. Draw links between Triangle 1 and Points A,B, and C and label them.

Add Triangle 2 to the diagram along with its defining points. Add Triangle2, name it and add its attribute value. Draw links between Triangle 2 and Points B and C and label them.

Add Point D, name it and add the attribute values. Next draw a link between Triangle 2 and Point D and label it.

Add Triangle 3 to the diagram along with its defining Points. Add Triangle 3, name it and add the attribute values. Next draw links between Triangle 3 and Points B and D and label them.

Add Point E, name it and add the attribute values. Next draw a link between Triangle 3 and Point E and label it.

Add Triangle 4 to the diagram with its defining points. Add Triangle 4, name it and add the attribute values. Next draw a link between Triangle 4 and Point B and label it.

Add points F and G, name them and add the attribute values. Finally draw links between Triangle 4 and Points F and G and label them.