Both sequence diagrams and communication diagrams are kinds of interaction diagrams. An
interaction diagram
shows an interaction, consisting of a set of objects or roles, including the messages that may be dispatched among them. Interaction diagrams address the dynamic view of a system.
A sequence diagram
is an interaction diagram that emphasizes the time-ordering of messages; a
communication diagram is an interaction diagram that emphasizes the structural organization
of the objects or roles that send and receive messages. Sequence diagrams and communication diagrams represent similar basic concepts, but each diagram emphasizes a different view of the concepts. Sequence diagrams emphasize temporal ordering, and communication
diagrams emphasize the data structure through which messages flow. A timing diagram (not
covered in this book) shows the actual times at which messages are exchanged.

序列图和通信图都属于交互图.交互图表达的是这样一个交互:由一组对象和角色组成。消息在它们之间传递.交互图处理系统的动态视图.序列图作为交互图。它更着重消息发送时的时间顺序;通信图作为交互图。则更着重对象或角色在发送和接收消息时的组织结构.序列图和通信图表达的基本概念非常相似,但每一个图注重的是不同的概念视图:序列图着重的是时间顺序,而通信图着重的是消息流的数据结构.时序图(超出了本书范围)表达的是消息交换时的实际时间.

A
state diagram shows a state machine, consisting of states, transitions, events, and activities.
A state diagrams shows the dynamic view of an object. They are especially important in modeling the behavior of an interface, class, or collaboration and emphasize the event-ordered behavior of an object, which is especially useful in modeling reactive systems.

状态图表达的是一个状态机,由状态,传输。事件和活动组成.一个状态图显示对象的动态视图.在构建接口,类或是交互的行为时它们尤其重要,它注重对象行为所发生的事件顺序。这在构建反应系统时特别实用.

An
activity diagram shows the structure of a process or other computation as the flow of control
and data from step to step within the computation. Activity diagrams address the dynamic view of a system. They are especially important in modeling the function of a system and emphasize the flow of control among objects.

活动图显示过程的结构,或是其他计算,如控制流和数据计算过程.活动图处理系统的动态视图.在构建系统的功能时尤其重要,重点是对象间的控制流.

A
deployment diagram shows the configuration of run-time processing nodes and the components
that live on them. Deployment diagrams address the static deployment view of an architecture. A node typically hosts one or more artifacts.

部署图显示执行时处理节点的配置和节点中的活动组件.部署图处理体系结构的静态部署视图.一个节点通常指包括有一个或很多其它个产品的主机.

最新文章

  1. Python 监控nginx服务是否正常
  2. Set和Map
  3. POJ 1777 mason素数
  4. NativeInt
  5. [转]DataTable用中使用Compute 实现简单的DataTable数据的统计
  6. 数学之路-分布式计算-disco(4)
  7. iPhone 6 图像渲染揭秘(转)
  8. MySQL 行子查询
  9. c# in depth 之泛型实参的类型推断
  10. Dockerfile命令详解(超全版本)
  11. C#使用Xamarin开发可移植移动应用(5.进阶篇显示弹出窗口与通讯中心)附源码
  12. 201521123053《Java程序设计》第1周学习总结
  13. React-redux使用中有关Provider问题
  14. Git 工具总结
  15. 使用Java代码自定义Ribbon配置
  16. How To Crop Bitmap For UWP
  17. Quartz2D指定显示范围
  18. ios中Pldatabase的用法
  19. php性能优化(一)压力測试工具篇
  20. mysql简单实现查询结果添加序列号的方法

热门文章

  1. ASP.NET Core 多环境
  2. SpringBoot + MyBatis(注解版),常用的SQL方法
  3. java 实现将java对象转为yaml文件
  4. Tomcat 程序无问题的情况下页面打开变慢的原因
  5. Asp.net MVC4 Step by Step (1)-路由,控制器,视图
  6. MongoDB安装使用教程
  7. (List)写一个函数reverseList,该函数能够接受一个List,然后把该List 倒序排列。 例如:  List list = new ArrayList();  list.add(“Hello”);  list.add(“World”);  list.add(“Learn”); //此时list 为Hello World Learn  rever
  8. VR: AR和VR演进哲学
  9. HDU_1969_二分
  10. js开发性能(一)