Graphic editors Changing the line shape Rational Rhapsody has three line shapes that you can use when you are drawing arrows in the graphic editors. You can set a unique line shape for each line; the default line shape varies by element. The Edit menu contains the Line Shape option, which specifies your preferred line shape for the specified arrow. You can also access the Line Shape option by right-clicking an arrow or line in a diagram. The possible values for the line shape are as follows: Љ Straight changes the line to a straight line. Љ Spline changes the line to a curved line. Љ Rectilinear changes the line to a group of line segments connected at right angles.
Љ Re-Route removes excess control points to make the line more fluid. Note You can use the line_style property to change the line shape (straight, spline, rectilinear) for a line type (for example, Link, Dependency, Activity Flow, Generalization) for a diagram type (for example, Object Model, Activity, Statechart) by project. For example, in your Handset project, you can use the ObjectModelGe::Depends::line_style property to set Dependency lines for Object Model diagrams to be a spline shape. You should set this property when you begin a project, as it takes effect going forward. In addition, you can customize a line by adding/removing user-defined points to an arrow element.
To add points to an arrow element: 1. In the diagram, select the line you want to change. 2. Right-click and select User Points . 3. Depending on what you want to do: Љ To add a user-defined point, click Add . Note that the new point is added at the location where you accessed the menu. Љ To remove a point, click Delete . Rational Rhapsody removes the point closest to the location where you accessed the menu. Note that you can reshape the line when the cursor changes to the icon shown in the following figure: Simply drag the line to reshape it. 420 User Guide