是否有任何人解释序列图和通信图表之间的区别?
I am trying to understand UML diagram describing Decorator Pattern at link below http://www.dofactory.com/Patterns/PatternDecorator.aspx I don t understand why there is a "Aggregation" relation ...
是否有任何人解释序列图和通信图表之间的区别?
两种图表都提供了相同的信息,但序列图强调其布局的时间,而通信图表则强调其布局中通信的物体。
时间隐含在顺序图表中(按垂直位置推算),而在通信图表中(以数字表示)。
To quote Scott Ambler
通信图表和序列图之间的主要差别是,序列图显示顺序逻辑良好,但不是在给你“大概图像”时好,而通信图表恰恰相反。
emphasizing the time ordering of messages (using sequence diagrams)
强调互动对象之间的结构关系(使用通信图表)。
reference :UML user manual
频率图表显示以栅栏形式进行的互动,在这种形式中,每个新物体都添加到右边。
这在法典中可能是什么? 可以证明,A类有一种称为“一体”和B类属性的方法。 而且,B类方法名称为“ do”和“ do”。 或许A类的部分定义是:
public class A
{
private B myB = new B();
public void doOne()
{
myB.doTwo();
myB.doThree();
}
// . .
}
Communication diagrams illustrate object interactions in a graph or network format, in which objects can be placed anywhere on the diagram (the essence of their wall sketching advantage).
The Strengths and Weaknesses of Sequence vs. Communication Diagrams?
Each diagram type has advantages, and modelers have idiosyncratic preference—there isn t an absolutely "correct" choice. However, UML tools usually emphasize sequence diagrams, because of their greater notational power.
频率图表比通信图表具有某些优势。 也许首先,《尼共(马)法》的具体规定是更顺序的图表,更深思熟虑,也更努力地进行语义和语气。 因此,工具支持更好,而且可以选择更多信息。 此外,更容易看到按顺序图表排列的电话流序列——简单地读到底层。 有了通信图表,我们必须阅读“1:”和“2:”。 因此,序列图对于文件或很容易读出使用UML工具的源代码产生的反机动电话流序列来说是好的。
但是,另一方面,通信图表在应用“单程”作为篮子”来利用隔离墙(Agile模型化做法)时具有优势,因为它们的空间效率更高。 这是因为,这些箱子很容易被放置或消失在任何地方——横向或纵向。 因此,通过通信图表(在创造性高变化的办公室设计工作期间)更方便地修改墙图,以在某个地点抹去一个盒子,在其他地方提取一个新的盒子,并铺设一条线。 相比之下,必须总是在右边添加顺序图中的新物体,因为右边迅速消耗和耗尽右边空间(或围墙);垂直空间的使用效率不高。 与通信图表相比,在墙上进行顺序图形的研制者迅速感受到了引人的痛苦。
I am trying to understand UML diagram describing Decorator Pattern at link below http://www.dofactory.com/Patterns/PatternDecorator.aspx I don t understand why there is a "Aggregation" relation ...
Please suggest me any opensource tool to generate C# code from UML designer,Or any plugin to generate code from visualstudio. My requirement is to have a code generation tool for C#.
I m interested in learning how to design/plan for web application development, in a multiple developer team scenario. Assuming the role of "Project Manager/Lead": What "documents" are needed for ...
I ve been using NClass for object/class modeling in class thus far. However, I do not believe that it is capable of sequence diagrams, which is my next task. I would prefer not to use Visio. Is ...
I need to create a diagram to document a RESTFul API that build, which UML diagram should I use? Thanks in advance,
Is it any uml-like modeling tool available that can design (draw) classes and can visually represent QT signals and slots, they connections?
I am trying to create UML diagrams but can not mark a class as Abstract. Please help.
I need a punch of samples of UML diagrams to get an start point to develop my own diagrams. Does anyone know about a good website where I could find it? Thanks!