ibm Rational Rhapsody 7.5 — Join or fork bars

Activity diagrams Drawing diagram connectors Diagram connectors connect one part of an activity diagram to another part on the same diagram. They represent another way to show looping behavior. To draw a diagram connector: 1. Click the Diagram Connector button on Diagram Tools . 2. Click to place the source diagram connector at the intended location and label the connector. 3. Repeat to place the target diagram connector at the intended location in the diagram, and give it the same name as the source connector. For more information on diagram connectors, see Statecharts . Join or fork bars Activity diagrams can include join or fork bars.

A join or fork bar depicts either a join or a fork operation. You can draw join or fork bars in activity diagrams for objects, use cases, and operations. Rational Rhapsody defines activity diagrams as meaningful only if join and fork bars are well- structured in the same sense as well-structured parentheses. In other words, they must use proper nesting. The only exception to this rule is that a join or fork connector with multiple ingoing/ outgoing activity flows can be used in place of a number of join or fork connectors with only two ingoing or outgoing activity flows each.

Rational Rhapsody tolerates less-than-meaningful activity charts, provided that they can be extended into meaningful ones by adding activity flows (for example, a fork with activity flows that never merge back). As you draw activity diagrams, Rational Rhapsody prevents you from drawing constructs that violate the meaningfulness of the activity diagram by displaying a “no entry” symbol. 638 User Guide