To move a Message out of a Fragment, or to a different position in the sequence within the Fragment, press and hold the Alt key as you drag the Message into position. Once contained within a Fragment or a Fragment Operand, Messages continue to be contained by it as they are moved up and down the diagram. In order to select a Combined Fragment, you must click near the inside edge or drag a selection rectangle around the Fragment this is designed to prevent accidental selection when moving Messages inside the Fragment. Click on the appropriate arrow to change the order.Select an interaction fragment with more than one condition defined up and down arrows appear on the right hand side of each condition.The order of interaction fragment conditions can be changed directly on the diagram: After the fragment completes its trace, the cashier gives a receipt to the customer, under the fulfilled condition that payment requirements were met. An alternative fragment represents the payment options, the fragment being divided to show the two operands cash and credit card. A loop fragment represents iteration through an unknown number of items for purchase, after which the cashier requests payment. This Sequence diagram illustrates the use of Combined Fragments in modeling a simplified purchasing process. The Fragment displays as a transparent window, divided by horizontal lines for each operand. A Combined Fragment reflects one or more aspects of interaction (called interaction operands) controlled by an interaction operator, with corresponding Boolean conditions known as interaction constraints.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |