- All Superinterfaces:
- ActivityNode, Comparable<MObject>, ControlNode, Element, org.eclipse.emf.ecore.EObject, MObject, ModelElement, org.eclipse.emf.common.notify.Notifier
public interface InitialNode
An initial node is a starting point for executing an activity (or structured node, see StructuredActivityNode (from CompleteStructuredActivities, StructuredActivities) ). A control token is placed at the initial node when the activity starts, but not in initial nodes in structured nodes contained by the activity. Tokens in an initial node are offered to all outgoing edges. If an activity has more than one initial node, then invoking the activity starts multiple flows, one at each initial node.
For convenience, initial nodes are an exception to the rule that control nodes cannot hold tokens if they are blocked from moving downstream, for example, by guards (see Activity). This is equivalent to interposing a CentralBufferNode between the initial node and its outgoing edges.
Note that flows can also start at other nodes, see ActivityParameterNode and AcceptEventAction, so initial nodes are not required for an activity to start execution. In addition, when an activity starts, a control token is placed at each action or structured node that has no incoming edges, except if it is a handler body (see "ExceptionHandler (from ExtraStructuredActivities), it is the fromAction of an action input pin (see "ActionInputPin (as specialized)" ), or it is contained in a structured node.