Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Activity Diagram with multiple end points

My Question may be simple, but I am confused because I have no idea about activity diagrams.

My question- Are multiple end points ever acceptable in an activity diagram?

like image 917
Imran Khan Avatar asked Dec 20 '22 00:12

Imran Khan


1 Answers

It's a bit touchy to reference IBM though they are one of the big OMG parents. The "truth" is written in OMG's superstructures.

Actually UML2.5 talks about Final Node in the context of activity diagrams:

Final Nodes

A FinalNode is a ControlNode at which a flow in an Activity stops. A FinalNode shall not have outgoing ActivityEdges. A FinalNode accepts all tokens offered to it on its incoming ActivityEdges.

There are two kinds of FinalNode:

  1. A FlowFinalNode is a FinalNode that terminates a flow. All tokens accepted by a FlowFinalNode are destroyed. This has no effect on other flows in the Activity.
  2. An ActivityFinalNode is a FinalNode that stops all flows in an Activity ...

A ControlNode is a kind of ActivityNode and those form Activities. The definition except in the context of the FinalNode does not tell how the single ActivityNodes can be related. So from that you can have as many as you like/need.

like image 152
qwerty_so Avatar answered Jan 02 '23 07:01

qwerty_so