Contents > C: List of Design Rules > C.13 Interaction Rules

C.13 Interaction Rules

Rule: AlternativesCategory: Style
Severity: 3-lowApplies to: all areas
The interaction models alternative sequences.

The interaction contains a combined fragment with 'alt', 'opt', or 'break' operator to model alternative execution sequences. The purpose of a sequence diagram is to show one scenario, not a set of different possible sequences. Activity diagrams are better suited for that purpose.

Consider using several sequence diagrams showing one scenario each, or use an activity diagram.

  • Suggested in [Oes04].
  • Value returned: name of the operator of the combined fragment.