序列图和通信图有什么区别? [英] What is the difference between sequence diagram and communication diagram?
问题描述
谁能解释一下序列图和通信图有什么区别?
Could anyone explain me what is the difference between sequence diagram and communication diagram?
推荐答案
两个图提供相同的信息,但顺序图在其布局中强调时间,而通信图则强调在其布局中进行通信的对象.
Both diagrams give the same information, but the sequence diagram emphasizes time in its layout and the communication diagram emphasizes the objects that are communicating in its layout.
时间在序列图中是隐含的(通过垂直位置推断),而在通信图中明确给出(通过数字).
Time is implicit in sequence diagrams (it is inferred by vertical position), while it is given explicitly in communication diagrams (via numbers).
引用 Scott Ambler
通信图和序列图之间的主要区别在于,序列图擅长显示顺序逻辑,但不太擅长为您提供大局观",而通信图恰恰相反.
The main difference between communication diagrams and sequence diagrams is that sequence diagrams are good at showing sequential logic but not that good at giving you a "big picture view" whereas communication diagrams are the exact opposite.
这篇关于序列图和通信图有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!