Uml Sequence Diagram Loop. An activity diagram is a behavioral diagram i e. Uml 2 0 defines these sequence fragments.
It can be used for creating and maintaining an authentic sequence diagram. A fragment operator expresses a type of the fragment. Uml tries to shuffle the simplest form of for loop and while loop which causes weird uml 2 3 loop semantics on p 488.
In general frames consist of some region of a sequence diagram that is divided into one or more fragments.
Uml models basically three types of diagrams namely structure diagrams interaction diagrams and behavior diagrams. This is a sequence diagram example that shows how loop fragment can be used in modeling the repeat of message. It is illustrated by a box which is called the combined fragment. This is a sequence diagram example that uses iteration with loop and break.