UML Class Overload (SciTools)

UML Spaghetti Diagram? Sometimes, the UML Class Diagram in SciTools Understand can be too much or too little. We explain how you can control the what classes are displayed by using Architecture.

The Problem:

With SciTools Understand you can only display the UML Diagram for a single class or struct and its dependencies or the entire list of Classes in the project. There is no way to select a list of classes to be displayed.

The Solution:

The Solution is to create an architecture that contains all the files that define the classes you want to see on your UML graph. With a custom plugin, you will be able to create a UML Diagram that will show only those classes.

How it works?

We have created a new plugin for SciTools Understand using the PERL API based on the UML Class Diagram plugin. With it, you will have a new option available “UML Class Diagram w Architecture” that works exactly the same way than the “UML Class Diagram”, except it offers a new option that let you select what architecture is displayed. Only the classes in the selected architecture will be displayed.

Simply right click in the “Grey Area” and select what architecture to displayed, limiting what classes show up.

Step by Step Instructions

  1. Obtain the script “uml_class_w_architecture.upl” from us.
  2. drag and drop the file into an SciTools Understand window.
  3. The Menu “UML Class Diagram w Architecture” should now be available where the “UML Class Diagram” menu is.
  4. Create an  architecture (let’s say it is named “UMLArchitecture“) that contains all the .h and the .cpp files that contains the classes you want to create the UML graph for.
  5. Select the “UML Class Diagram w Architecture” from the Graphs>>Project Graph menu.
  6. Right click in the grey area and select Architecture>>”UMLArchitecture“.
  7. Only the selected classes should displayed.

Request the Plugin

This script is provided “as-is” and was tested against C and C++ for SciTools Understand Build 904. If you need help with it, require another language or version, or if you want to get support, please check our support options