Open nus-pe-bot opened 3 years ago
Every branch node does not necessarily need a merge node. It is not a bug.
Image is taken from CS2103/T Luminus quiz 9 part 1 where this diagram is a valid diagram for the description and it only has one branch node with no merge node. Thus, merge node is not a requirement.
This diagram makes use of the ability to have multiple end nodes in an activity diagram (which is allowed based on the discussion here). As such, it prematurely terminates one of the branches from the branch node.
Merge nodes are useful when we want to explicitly merge alternate activity branches back into the same path. This is not the case.
--
Note from the teaching team: This bug was reported during the Part II (Evaluating Documents) stage of the PE. You may reject this bug if it is not related to the quality of documentation.
First branch node missing a corresponding merge node
[original: nus-cs2103-AY2021S1/pe-interim#4386]