活动图中的每条路径是否都有结束节点。每个“叉子”都是分支需要合并吗?

发布于 2024-12-17 12:52:12 字数 319 浏览 6 评论 0原文

活动图中的每条路径都需要有一个结束节点吗?类似的问题是每个fork分支都需要合并吗?

我做了一个活动图(如下),但它似乎是错误的。某些分支(来自 fork)没有结束节点(也不以合并结束)。

我的想法是店员会将装运装箱单发送给采购、会计和销售部门。顾客。其中 2 个似乎只是创建/初始化对象(例如输入信息)。它们是并行执行的,所以我觉得我应该有一个分叉?

Does every path in an activity diagram need to have a finish node? A similar question is does every fork branch need to be merged?

I did an activity diagram (below), but it seems wrong. Some branches (from fork) has no finish node (nor end in a merge).

My idea was the clerk will send shipment packing slip to purchashing, accounting & customer. 2 of which just seem to create/init objects (eg. enter info). They are executed in parallel so I felt I should have a fork?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦与时光遇 2024-12-24 12:52:12

活动图中的每条路径都需要有一个结束节点吗?

是的。但完成节点有两种:ActivityFinalFlowFinal。您需要使用 FlowFinal 节点终止每个包装和运输流程。有关详细信息,请参阅规范中的第 12.4 节。该符号位于此处,即其所在页面 是一个很好的参考。

每个分支都需要合并吗?

不。但它需要终止 - 因此存在 FlowFinal 节点。

嗯。

Does every path in an activity diagram need to have a finish node?

Yes. But there are two kinds of finish node: ActivityFinal and FlowFinal. You need to terminate each of the packaging and shipment flows with a FlowFinal node. See section 12.4 in the spec for details. The symbol is here, the page it's on is a good reference.

Does every fork branch need to be merged?

No. But it needs to terminate - hence existence of FlowFinal node.

hth.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文