DVT Eclipse IDE Diagrams - How to Generate UML Diagrams

Overview

UML diagrams help you visualize OOP inheritance and association relationships between classes.

This video explains how to generate a UML diagram, how to explore it and how to customize its content and look & feel.

Explore the design and verification tools: https://www.dvteclipse.com
Or request a license: https://www.dvteclipse.com/request-license

Details

Introduction

In DVT, you can generate UML diagrams for SystemVerilog classes and eLanguage structs and units.

Generating a UML Diagram

Right-click on a type name in the DVT editor or in any view and select Show Diagram.

Navigating the Diagram

Panning and Zooming

The parents and children of the selected class are shown along with the first level of associations.

  • Click and drag to pan.
  • Use mouse scroll wheel to zoom in and out.
  • Click on the Fit Canvas toolbar button to return to the initial zoom level.

Going to Source

Right-click on a node or edge to Go to Source. Click Back in the main toolbar to return to the diagram.

Selecting Types

Selecting Multiple Nodes

Control+click to select several nodes. Right-click and choose Select Type. Note that the selected types have a highlighted background.

Using the Select Types Panel

You can also use the Select Types panel to change the set of selected types.

Showing Members

Right-click on a node to show members, for example, functions.

Changing Diagram Preferences

Click on Preferences in the Diagram toolbar to change the diagram content and aspect.

Example Adjustments

For example, let's hide parents and children, show only associations between the selected elements, show member functions and draw the diagram from left to right.

Saving the Diagram

Use the toolbar button to save the diagram to a file.

Searching the Diagram

Use the search bar to locate a specific type, member or edge.