The collaboration diagram depicts the relationship between the objects in a system. The sequence and collaboration diagrams both represent the same information but differently. It shows the architecture of the entity residing in the system rather than the flow of messages because it is based on object-oriented programming. An object has several characteristics. Multiple objects in the system are linked to one another. The collaboration diagram, also known as a communication diagram, depicts the architecture of an object in the system. An object is represented by an object symbol with its name and class underlined and separated by a colon.