UML Class Diagrams

UModel Class Diagram Features:

  • Toolbar for class diagram elements
  • Entry helpers and fast editing buttons
  • Right-click context menu
  • Cascading styles for colors, fonts, and more
  • Customizable alignment grid
  • Elements can be assigned to diagram layers
  • Unlimited undo/redo
  • Create diagrams by reverse engineering existing code

UML Class Diagrams

UModel is a fast, effective tool for graphically modeling object-oriented programming constructs.

UML Class Diagram

Altova UModel makes class diagrams easy to draw and interpret with color-coded icons and text for each diagram element, intelligent entry helpers, and intuitive element relationship tools.

As you create your UML class diagram, you can set the visibility of each attribute and operation in the properties window, or by clicking to open a pop-up menu in the diagram. Convenient fast editing buttons and a specialized class diagram toolbar are also provided to help you easily add elements. UModel identifies the visibility property of each attribute and operation with a unique pictorial icon. The icons are keyed to indicate whether an attribute is public, protected, or private.

UModel lets you directly edit attributes (or properties) and operations within the diagram view. As you type, intelligent entry helpers automatically appear to help you input information correctly.

UModel automatically applies syntax coloring to the text of attributes and operations in class diagrams to make them more intuitive. Constraints, identifiers, mathematical and logical operators, types, and values are all automatically displayed in unique colors as you enter your text. Syntax coloring makes your diagrams easier to create, and easier to understand when viewed later.

Auto-completion

When you add new properties and operations to a class, UModel offers an intelligent auto-completion window to help you define the class quickly and accurately.

You can resize the auto-completion window on the fly for an expanded view of your options. You can also filter the window contents by clicking the datatype icons for a class, interface, primitive type, data type, enumeration, class template, interface template, or datatype template.

The icon at the bottom left of the autocompletion window enables single mode to limit suggestions to a single category.

Choosing datatypes from the auto-completion window as you create classes helps prevent type definition errors in source code later on as your project progresses.

Relationships, Dependencies, and Associations

The Hierarchy helper window provides a quick view of generalization and inheritance relationships of classes. You can click the Hierarchy tab to view the relationships of any class selected in a class diagram or in the Model Tree.

UModel also offers a right-click menu to easily locate relationships, dependencies, and associations between classes. ‘Show Generalization’ or ‘Show Dependency’ selections can help you analyze and understand models you did not create yourself..

The ‘Show Association’ selection can automatically place a copy of all elements associated with the selected class into the design pane.

Customized Display Options

If your project will generate source code in .NET programming languages (C# or Visual Basic), your classes may contain .NET properties that can be called from outside like attributes, but are implemented internally as methods.

To better organize .NET classes, UModel offers an option to display .NET properties and methods in separate operations compartments inside classes.

This view is an optional setting in the Styles helper window for class diagram display and editing only. Your choice to display separate .NET properties compartments or continue using a single traditional UML operations compartment will have no impact on code generated from the class.

UModel

UModel supports all 14 UML diagrams, as well as a UML diagram for XML Schemas and another to model tables in relational databases, giving your team a powerful UML modeling tool at a fraction of the cost of legacy solutions. To see a comprehensive list of all UML diagram types, see our UML diagrams page or click on the link below to download a 30-day trial of Altova UModel.