Jump to Menu

Diagramming with Custom Viewpoint

A custom viewpoint defines a selected set of shapes that can be created in a diagram. When a diagram has a custom viewpoint attached, the shape legend will appear, providing you with quick access to the diagramming tool for creating the type of shapes selected.

Why and when to use a viewpoint?

  1. You want to introduce a new diagram type with selected, mixed set of notation from different diagram types
  2. You want to restrict your team to use only a small subset of shapes from a particular type of diagram
  3. You want a quick access to frequently created shapes
  4. You need to annotate your shapes often. This can be satisfied by using a viewpoint that supports annotation shapes like callout, note, etc
  5. You want to output shape and color legend in your printout, report and other publication

Hands on

Defining a viewpoint

  1. Select Modeling > Manage Viewpoints from the main menu.
  2. Click Add at the bottom left of the Viewpoints Management window.
  3. It shows a list of default viewpoint. Click New to create your own.
  4. Name the viewpoint.
  5. Scroll down to the Elements section. You can restrict the kinds of model element that can be created via the diagram toolbar, for diagrams applied this viewpoint.
    Select elemnets
  6. Configure shape legend. Shape legend provides you with quick access to selected shape type.
    Configure shape legend
  7. Click Done at bottom left of the Viewpoints Management window.
  8. Click OK.

Applying a viewpoint

To apply a viewpoint on a diagram:

  1. Right click on the diagram and select Open Specification... from the popup menu.
  2. In the diagram specification window, open the Viewpoint tab and select the viewpoint.
    Select viewpoint
  3. Click OK to confirm. The diagram toolbar is updated to list only the available shape types, following the definition of viewpoint. You can also create shape via the Shape Legend. If it does not appear, open it by right-clicking on the diagram and selecting Presentation Options > Show Shape Legend from the popup menu.
    Viewpoint applied


Turn every software project into a successful one.