ibm Rational Rhapsody 7.5 — Creating a flow chart

Flow charts Actions Flow charts decompose a system into actions that correspond to activities. These diagrammatic elements, called actions , are member function calls within a given operation. In contrast to normal states (as in statecharts), actions in flow charts terminate on completion of the activity, rather than as a reaction to an externally generated event. Each action can have an entry action, and must have at least one outgoing action flow. The implicit event trigger on the outgoing action flow is the completion of the entry action. If the action has several outgoing action flows, each must have its own guard condition.

During code generation, code is derived from the actions on a flow chart. Actions have the following constraints: Љ Outgoing activity flows can include only guard conditions. Љ Actions have non-empty entry actions. Љ Actions do not have internal action flows or exit actions, nor do activities. Љ Outgoing action flows on actions have no triggering events. Creating a flow chart You can create a flow chart on any function or class method in the same way as you can an activity diagram. To create a flow chart: 1. In the browser, right-click the model element for which you want to create a flow chart, such as a function. 2. Select Add New > Diagrams > Flowchart .

The flow chart displays in the Drawing area. 658 User Guide