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.
我正在学习 UML 中的活动图,现在我对下图表示在调用比萨饼时的过程感到困惑。
我认为应该在加入节点之前添加一个合并节点,因为如果没有,加入节点将永远等待。那是对的吗?谢谢你。
我想你是对的。
应该有一个合并节点来合并来自decision右后的两个流Ask for toppings,以及一个合并节点来合并被decision右后拆分的两个流Deliver Pizza
decision
Ask for toppings
Deliver Pizza
加入节点只有在从所有传入流中获得令牌时才会继续,如果这些流由于之前的决定而互斥,则永远不会发生这种情况。