Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在活动图中显示«include»和显示?«extend»以及如何在活动图中显示类型。例如,车辆有 2 种类型,即自行车和汽车。那么如何在活动图中显示呢?
«include»
«extend»
简单地说:如果你避免它,你就不能表现出来。I/E 是不好的结构,因为它们会导致人们在用例合成过程中使用功能分解。
如果出于某种原因,您有一个 I/E 案例,您可以将相应用例的 Activity 作为调用操作放置在您的操作序列中。那将仅代表 I/E。并且取决于它是否是可选的/强制性的,事件的流程会很清楚。
在您澄清之前,我将您的类型问题排除在外。