How to Annotate UML Shapes?

Callouts are a useful way to provide additional information about a shape or shapes on a diagram. They are specifically designed for annotation purposes and allow you to add viewable notes to your diagram. However, this can also create problems if certain parties are not supposed to view these notes. For example, if you add a callout to a business process diagram to request a renaming of a business task, you may want to hide this callout from stakeholders who do not need to see it. In this tutorial, we will share a tip on how to easily hide callout shapes on a diagram so that they are not visible in your printouts or when viewed by certain parties.

August 26, 2015
Views: 52,538
PDF Download

Creating an Annotation Layer

In this tutorial, we will show you how to use the annotation layer to add and hide annotations in a UML activity diagram.

  1. Download Activity-Diagram-Example.vpp. You can also find this file at the bottom of this tutorial, under the Resources section.
  2. Open the downloaded project file in Visual Paradigm.
  3. Open the UML Activity Diagram named Place Order. You should see the activity diagram below:
    activity diagram
  4. Select View > Layers... from the main toolbar.
  5. In the Diagram Layers window that appears, click the new layer icon at the top of the window to create a new layer.
  6. Enter Annotation as the name for the new layer.
    naming new layer
  7. Click Close to confirm your changes and return to the diagram.
  8. The new "Annotation" layer is now the active layer, meaning any new shapes you create will be placed on this layer. Let's create a callout. Select Callout from the diagram toolbar.
    selected callout
  9. Click anywhere on the diagram and enter Check Payment is not needed as the content for the callout.
    enter callout content
  10. Position the callout's pointer so that it points to the Check Payment action.
    callout pointer

Hiding the Annotation Layer

By organizing shapes into layers, you can easily control their visibility. This is useful when you need to share a diagram with different audiences. For example, you can export a version of the diagram without annotations for external stakeholders, while keeping an internal version that includes your notes. To hide a layer:

  1. Re-open the Diagram Layers window.
  2. Uncheck the box in the Visible column for the Annotation layer.
    hide annotation layer
    The callout will now be hidden in the diagram.
    callout hidden