Current location - Education and Training Encyclopedia - University ranking - What is the connection and difference between command and communication in UML?
What is the connection and difference between command and communication in UML?
Sequence diagram and communication diagram belong to interaction diagram.

The difference between these two diagrams is that the sequence diagram is based on time and shows tasks in chronological order; The communication diagram shows the interaction between tasks and information (objects). In communication, time is displayed in coded form, which is difficult to choose.

Despite these basic differences, these two types of diagrams have something in common: they are both used to show how objects and users interact to perform tasks.