用例之间的关系

Relation between use-cases

我们最近接到任务,将以下过程可视化为用例图:

The customer can use a touch panel to put together his menu of choice. After that, he can order the food he put together. After he ordered his food, he can choose whether he wants to pay by card or with a voucher. Then the customer waits for his food and picks it up at the counter.

虽然这并不是一个真正复杂的过程,但我的问题是用例如何或是否相互关联。我的方法如下:

我的想法是,用例图并不是要以正确的顺序显示过程,而是要显示有哪些用例。因此,我没有在不同的用例之间建立关系。我知道没有一个最佳解决方案,可能还有更多方法来模拟这个过程,但我的方法会错吗?

简单地说:你的假设是正确的。 UC 图中(通常)没有时间关系。但是,您可以向 UC 添加先决条件。可以在图表上显示为刻板约束(但通常您只是为了模型中更感兴趣的观众而隐藏它)。避免任何朝着功能分解方向发展的事情。

还有一件事:我会在 pick up food.

中“包含”pay order