D. Collaboration Diagram
I learn collaboration diagram from developer(2009) web site
D1. Scope of collaboration diagram
Collaboration diagram shows the objects and their association with other objects in the system apart from how they interact with each other.
D2. Elements of collaboration diagram
- Object- The objects interacting with each other in the system. Depicted by a rectangle with the name of the object in it, preceded by a colon and underlined (See figure 1).

Figure 1. Object of collaboration diagram.
- Relation/Association - A link connecting the associated objects. Qualifiers can be placed on either end of the association to depict cardinality.(See figure 2.)
Figure 2. Relation/Association of collaboration diagram.
- Messages - An arrow pointing from the commencing object to the destination object shows the interaction between the objects. The number represents the order/sequence of this interaction.
Figure 3. Messages of collaboration diagram.
References:
Developer (2009). "Collaboration Diagram in UML". Received 5th May, 2009 from URL -http://www.developer.com/design/article.php/10925_3102981_1
沒有留言:
發佈留言