Model elements Converting notes to comments Documentation notes “live” only within diagrams. They are not displayed in the browser. To convert a note to a comment (to be displayed in the browser), in the diagram, right-click the note and the select Convert to Comment . Anchoring annotations You can anchor a constraint, comment, requirement, or note to one or more graphical objects that represent modeling concepts (classes, use cases, and so on). You can also anchor annotations to edge elements. Although it is possible to anchor a requirement to an element, it is better to model it as a dependency. Anchors are shown as dashed lines. To anchor an annotation to a model element: 1.
Click the Anchor icon in the Diagram Tools. 2. Click an edge of the annotation. 3. Move the cursor to the edge of the model element to which you want to anchor the annotation, then click to confirm. To change the line style of an anchor, right-click the anchor line and select the appropriate option from the Line Shape menu. Note the following information: Љ There should be only one anchor between a specific annotation and a given model element. Љ An annotation can be anchored to more than one element. Finding constraint references To find which annotations are anchored to a particular class: 1. In the browser, select the class you want to query. 2. Select References from the menu.
The References window lists all the references for the specified class. Anchored annotations are labeled “Anchor” in the Type column. 370 User Guide