Viewing class compartments

In the object model diagram, a class is shown as a rectangle with three sections, for the name, attributes, and operations.

About this task

You can select and move the line separating the attributes and operations to create more space for either compartment.

Object model diagram showing a class and its compartments

If you shrink the box vertically, the operations and attributes sections disappear and the class graphic shows only the class name. The attributes and operations reappear if you enlarge the drawing.

When you rename a class in the object model diagram editor, the class name is changed throughout the model.