UML Final Node vs End Node
Both final nodes and end nodes are used to represent the termination points of an activity or a control flow, but they have different purposes and characteristics.
UML Final Node​
The UML final node is used to denote the end of a specific flow within an activity diagram or a state machine diagram. It indicates the successful completion or termination of that particular flow, but it doesn't necessarily mean the end of the entire activity or state machine.
Final nodes are often used within loops or conditional structures to indicate the end of a particular loop iteration or branch of execution.
After reaching a final node, the control flow ends for that specific path, but other paths or activities within the same diagram may continue execution.
UML End Node​
The UML end node, also known as an "activity final node," represents the termination of the entire activity or behavior within an activity diagram. It indicates the successful completion of the entire process or workflow.
End nodes are typically placed at the final point of the main control flow within an activity diagram, indicating the successful completion of the entire activity.
When a control flow reaches an end node, it signifies the end of the entire process or activity, and no further activities or flows should follow.
The key difference between a UML final node and a UML end node lies in their scope and purpose. A final node represents the termination of a specific path or flow within a diagram, while an end node represents the termination of the entire activity or behavior being modeled.