In UML diagrams, you can add text, notes, comments, images, and
URLs to provide more information about the elements that comprise
the diagrams and models.
Text
In UML modeling, text is a non-UML diagram element that you can use to add additional information to diagrams and diagram elements.
Notes and note attachments
A note is a non-Unified Modeling Language (UML) diagram element that contains textual information. A note attachment connects a note to another diagram element.
Comments and comment attachments
A comment is a Unified Modeling Language (UML) model element that
contains comments or textual information. Comments appear in the Model
Explorer view and in the diagram editor. In the diagram editor,
a comment attachment connects a comment to another diagram element.
URLs
A URL is a Unified Modeling Language (UML) model element that contains
a URL or file path. When you add a URL to you model, it appears in the Model
Explorer view and the diagram. In the diagram editor, a comment
attachment connects a URL to another diagram element.
Adding text to UML diagrams
You can add text, which is a non-UML element, to diagrams to provide more information. For example, you can add headings or labels to identify portions of a large or complicated diagram.
Attaching notes to diagram elements
You can attach a note to one or more diagram elements to specify information about them. For example, you can provide textual information about the element or a link to another diagram that relates to that element.
Attaching comments to modeling diagram elements
You can attach a comment to one or more diagram elements to specify information about them. For example, if you are reviewing a diagram, you can provide feedback about specific elements by attaching comments.
Attaching URLs to UML diagram elements
You can attach a URL, which is a UML model element, to other diagram elements to provide more information. A URL can reference a Web site or a file that is relevant to the element. For example, you can link to a Web site that contains details about a component in your design model, or attach a document that describes a use case in your use-case model. You can also add images to your diagrams by attaching a URL that references the image file.