Create elements b. Drag where to draw classes, simple classes, and packages, you click-and-drag to the opposite corner and release. If you hold down the Shift key, you create a square box. Note that the cursor changes to the icon of whatever you are drawing (class, object, package, and so on). 3. When you complete the box, the element is given a default name. To rename it, click the text to enable editing. Type the new name, then press Enter or click outside the box. 4. Click anywhere outside the box to start a new box, or click the Select tool to stop creating boxes. To add an existing box element to a diagram, you can simply drag-and-drop the element from the browser to the drawing area.
Drawing arrows Arrows connect boxes, representing the connections between different boxes in the diagram. For example, associations and dependencies are two types of arrows that can be drawn in use case diagrams. You can draw arrows in the following ways: Љ Drag where you click inside the source box, drag, and release the mouse inside the destination box. Љ Simple arrow clicks where you click inside the source box and click the border of the destination box. Љ Multiple clicks where you click inside the source box, click any number of times to mark the control points on the path of the arrow, and double-click inside the destination box.
You cannot add control points to a message arrow because it allows only two clicks. Another point displays immediately to show where the next arrow will start. Note that the cursor changes when you create arrows: Љ If you click a valid element for the destination of the arrow (for example, you are drawing a activity flow and you click a class), the cursor changes to crosshairs in a small circle. Љ If you try to connect an arrow to an invalid element, Rational Rhapsody displays a “no entry” symbol to show that you cannot connect the arrow to that element, as shown in the following figure. Rational Rhapsody 419