Comparing flow charts and activity diagrams

About this task

Flow charts have the following elements in common with activity diagrams including start and end activities and actions:

However, flow charts do not include And states, and flow charts for operations cannot receive events.

IBM® Rational® Rhapsody® Developer for C includes a Flowchart model located in the <Rational Rhapsody installation>\Samples\CSamples\Flowchart folder. These sample flow charts show which flow chart patterns are recognized in order to generate structured code. The following illustration shows the main elements of a flow chart. This particular flow chart generates if, then, and else code.

Flow chart - showing main elements

Feedback