An interaction fragment allows you to group related messages in a sequence diagram. Various predefined fragment types are available allowing you to specify alternate outcomes, parallel messages, or looping.
An interaction fragment can be created in the following diagrams:
In the example below, the User sends a request to the Account Page. The two alternative responses and the conditions on which they depend, are contained within an interaction fragment.