A ray of fire in the dark -------------Collaboration diagram-------------Elegant modeling language

  Collaboration diagram

  • A collaboration diagram is an interaction diagram that emphasizes the organizational structure between objects that send and receive messages. Collaboration diagrams are used to illustrate the dynamics of a system.
  • Collaboration diagrams mainly show interactions and links between objects, showing objects, links between objects, and how messages are sent between objects.
  • Collaboration diagrams can represent the implementation of class operations

    Collaboration diagram things and explanations

 

    

 

      The difference and connection between collaboration diagram and sequence diagram

      Collaboration diagrams and sequence diagrams both show the interaction between objects, but their emphasis is different

  • Sequence diagrams emphasize time, but do not explicitly express relationships between objects
  • Collaboration diagrams emphasize space (object relationships), but temporal order must be derived from sequence numbers
  • Collaboration diagram and sequence diagram can be converted into each other

 

   example

     Collaboration Diagram Admin Checkout:

 

     

 

   Convert to Sequence Diagram Admin Checkout:

 

     

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326722943&siteId=291194637