Creating an Annotation Layer
- Download Activity-Diagram-Example.vpp. You can also find this file at the bottom of this tutorial, under the Resources section.
- Open the downloaded project file in Visual Paradigm.
- Open the UML Activity Diagram Place Order. You should see the Activity Diagram below:
- Select View > Layers... from the toolbar.
- This popup a Diagram Layers window. At the top of the window, click to create a new layer.
- Enter Annotation as the name of the new layer.
- Click Close to confirm and return to the diagram.
- The newly added layer is automatically set as the active layer. Shapes to be created will be put in this layer. Now, start creating the callout. Select Callout from the diagram toolbar.
- Click on the diagram and enter Check Payment is not needed as the content of callout.
- Make the pointer points to the Check Payment action.
Hiding an Annotation Layer
By separating shapes into layers, you can show or hide particular kinds of shapes by showing or hiding the layer that own the shapes, which helps in delivering works to different types of users. With this example, you can export diagrams without annotations, and send user the result, while the internal copy can have the annotation existing. To hide a layer:
- Open the Diagram Layers window again.
-
Uncheck the checkout in Visible column for the Annotation layer.
You will find the callout hidden in diagram.