Generating a Class Diagram
You can generate a class diagram from:
• A package
• A class
From a package

Right-click a package.

Select
New > Generate a class diagram.
This command builds a descriptive diagram of the package. It contains all the classes contained in the package, and for each class:
• An inheritance level;
• The first level of association with any association classes.
• The first level of implemented interfaces.
From a class
You can generate two types of class diagram:
• A simple class diagram: describes the first level of classes associated with any association classes, the first level of inheritance and the first level of implemented interfaces
• Complex class diagram: describes n levels of classes associated with any association classes (recursion stops if a class C does not belong to the same package as the described class but if c is included in the diagram), the first level of inheritance and the first level of implemented interfaces.
See also: