显示对 UML 用例图的依赖,而不是“<<extend>>"或“<<包括>>" [英] Show dependencies on UML use case diagrams other than "<<extend>>" or "<<include>>"

查看:27
本文介绍了显示对 UML 用例图的依赖,而不是“<<extend>>"或“<<包括>>"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了扩展"或包含"之外,我们如何显示用例之间的简单依赖关系.例如我们想说用例 1 依赖于由用户 1 完成的用例 2.可以使用一个简单的箭头吗?哪个方向?

How can we show simple dependencies between use cases other than "extend" or "include". For example we want to say use case1 depends on use case2 which are done by user1. Can a simple arrow be used for this? For which direction?

推荐答案

是的.还有其他依赖项.

直接连接到用例的类的完整列表是(UML 2.5 标准的图 18.1):

Yes. There are other dependencies.

The full list of classes directly connected to Use Case is (fig. 18.1 of UML 2.5 standard) :

  • 用例
  • 约束
  • 演员
  • 包括
  • 扩展
  • 扩展点

但这并不意味着您不能在用例图中使用其他 UML 元素.UML 标准不限制图表的任何元素.您甚至可以在一张图上使用所有 UML 元素.另一方面,这当然是毫无意义的.

But that doesn't mean you can't use other UML elements in the diagram with Use Cases. UML standard DOESN'T limit any elements to diagrams. You can even use ALL UML elements on one diagram. On the other side, that would be senseless, of course.

可以看到一个可用的实用集合,例如,查看 VP UML 的用例面板上的元素.除了已经提到的,还有:

A usable practical set can be seen, for example, looking on the elements on the Use Case palette of the VP UML, for example. Except already mentioned, there are:

  • 系统
  • 依赖
  • 概括
  • 实现
  • 协作
  • 注意
  • 锚点
  • 遏制

此处您可以看到缩短的附有说明的清单.

here you can see a shortened list with explanations.

如您所见,依赖不仅是标准允许的(所有都是),而且被广泛使用.

As you see, dependency is not only allowed by standard (all are), but widely used.

这篇关于显示对 UML 用例图的依赖,而不是“<<extend>>"或“<<包括>>"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆