UML Collaboration Diagram collaboration diagram (interaction diagram)

Source: Internet
Author: User

Prefaceafter learning the UML time series diagram, we need to look at the UML collaboration diagram, because the two graphs are complementary. definitiondescribe the relationships between objects of mutual cooperation and only model the relationships between objects interacting with each other. compositionObjectat the same time as the sequence diagram, the collaboration diagram includes three naming methods: The first method includes the object name and the class name, the second method only shows the class name does not display the object name, that is, he is an anonymous object; The third way is to display only the object name does not display the class name.

chainSame as in the object graph, with a solid line of two-class roles to associate objects in a collaboration diagram, passing messages between different system objects. message        the way the object communicates with the object. The arrows are passed along the message direction. Computer room charge system collaboration diagramyou are welcome to make valuable suggestions.

Summary collaboration diagrams and time series diagrams belong to the interaction diagram, which can be lossless, and they all represent interactions between objects. Time series diagrams focus on expressing chronological order, while collaboration diagrams focus on expressing relationships between objects, which can be converted directly when drawing these two graphs with a cartographic tool.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

UML Collaboration Diagram collaboration diagram (interaction diagram)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.