A Comment is a UML element used to specify various remarks of an element in the model. In the diagram palette, under Common, the Comment command appears under the Note command. You can display text in the Comment as plain or HTML text.
You can format the Comment's symbol properties in the Symbol Properties dialog.
You can specify a Comment in the Comment's Specification window, which also displays the description of each Comment property in the description area of the Specification window.
To create a comment in the element Specification window
Type the Comment content as the Body property value and click OK.
To view the Documentation/Comments symbol on the diagram pane, expand the Documentation/Comments property group and drag the selected documentation/comment on the diagram pane. |
To switch a comment to HTML or Plain Text
Do one of the following:
You can edit the HTML text in the comment using the HTML editor. |
To display an anchored element documentation in a comment
You can enable the Retrieve Documentation option only if you already have documentation in the Comment's Specification window. Read the first set of instructions on this page to see how to create the comment in the element's Specification window. |
You can edit element documentation directly on the Comment symbol. |