Chapter 34. Diagramming and Modeling

  1. Home
  2. Docs
  3. Chapter 34. Diagramming and Modeling
  4. 1. Diagram Editing
  5. Showing elements’ description in diagram

Showing elements’ description in diagram

You can always view the description of model element in Description Pane or inside its specification window. But sometimes, you may want to have the description visible in diagram. You can do this by making use of the Note shape.

To show visible description to diagram:

  1. Move your mouse pointer over the shape from which you want to show its description.
  2. Press on the Resource Catalog button and drag it out to the position to show the description.
    Creating a shape from resource catalog
  3. Release the mouse button and select Anchor -> Note.
    Creating note
  4. Enter the ${modelDescription} as note content. Do not enter anything else otherwise it won’t work.
    Entering ${modelDescription}
  5. Click on the diagram to confirm editing.
    Description is visible