Using the Graphic Editors : Working with Charts and Diagrams : Flowcharts : Flowchart as Subroutine Implementation

Flowchart as Subroutine Implementation

Flowcharts may be implemented as subroutines in the Rational Statemate model. The following are the rules for this flowchart implementation:

To open/create a procedural flowchart automatically, select the “flowchart” implementation in a subroutine's properties form and click Edit.
Visually, a procedural flowchart will look exactly the same as regular or generic flowcharts, except for three toolbar icons which are disabled:

Create Instance Box

Name Instance Box

Create Diagram Connector

All relevant Rational Statemate tools support procedural flowcharts: Check Model, Simulation, Code-Generators, Documentor, Component libraries and Search tool.

typedef enum {

stmm_st_or, /* Or State */

stmm_st_and, /* And State */

stmm_st_reference,

stmm_st_diagram,

stmm_st_action_box,

stmm_st_decision_box,

stmm_st_switch_box

} stmm_st_type;