Attributes and Operations may be displayed on a class diagram. Often, a class diagram is created specifically for this purpose—it shows the structure and behavior of the classes in a package. Relationships typically are not shown on this diagram.
CREATING A CLASS DIAGRAM TO SHOW THE ATTRIBUTES AND OPERATIONS FOR A PACKAGE
Right-click to select the package in the browser and make the shortcut menu visible.
Select the New:Class Diagram menu choice. A class diagram called NewDiagram will be added to the browser.
With the new diagram selected, enter the name of the diagram.
ADDING CLASSES TO A DIAGRAM ...