Notes

Notes appear as shown below and are centered on, and attached to, the element to which they apply:

sequence diagram notes can be associated to messages and instances.

The note is linked to its source file. In the UML/SD Viewer, click a note to open the Text Editor at the corresponding line in the source code.

Notes can be automatically added to the diagram by Component Testing and Runtime Analysis tools. For example, memory profiling adds notes indicating where memory errors and warnings were detected. Component Testing for C and Ada adds notes when a test fails.

You can manually add notes to your C and C++ source code by clicking Add Note in the text editor. This inserts the _ATT_USER_NOTE instrumentation pragma into your source code.

Related Topics

| Instrumentation Pragmas UML Sequence DiagramsModel Elements and Relationships in Sequence Diagrams