About this task
Flow charts have the following elements
in common with activity diagrams including start and end activities
and actions:
- Decision points that show branching points
in the program flow based on guard conditions.
- Actions that represent function invocations
with a single exit action flow taken when the function completes.
It is not necessary for all actions to be within the same object.
- Action blocks that represent compound actions
that can be decomposed into actions.
However, flow charts do not include
And states, and flow charts for operations cannot receive events.
The following illustration shows the main elements
of a flow chart. This particular flow chart generates if, then, and
else code.