The UML Collaboration Diagram is used to show the relationship between the objects in a system. Instead of showing the flow of messages, a collaboration diagram depicts the architecture of the object residing in the system as it is based on object-oriented programming. The UML Collaboration diagrams are used by designers to define and clarify the roles of the objects that perform a particular flow of events of a use case. The UML Collaboration diagram is the primary source of information used to determine class responsibilities and interfaces. UML Collaboration Diagrams tend to be better suited to depict simpler interactions of smaller numbers of objects. To understand UML Collaboration Diagram, let’s have a look at the following UML collaboration diagram built using EdrawMax. It shows the ATM UML Collaboration and how a customer initiates the withdrawal process.