A Class Diagram shows a view of all or part of your Class Model. You can have many Class Diagrams in a model.
You can create a Class Diagram through the context menu of a Package: right-click the Package, point to New, point to UML, point to Structure, and then click Class Diagram.
You must create the following item types through the Class Diagram:
The following sections provide information about how a Class Diagram is used in the model. For more information about an item, property or model part, click it.
For most diagram symbols, you can change the presentation of the symbol through the Style view options (See
Style view options - all diagrams.), and change the showing of Stereotypes and Tag Definitions through the Stereotypes view options (
Stereotypes view options for a symbol - all diagrams). When a symbol has additional view options for changing its presentation, this icon is shown - to see how the view options can change the presentation, click the icon.
These items (which are not documented in the reference topics) can also appear on a Class Diagram:
• Association Class Link - links a Class, Data Type, Interface or Signal to an Association or Ternary Association. The linked Class, Data Type, Interface or Signal can then be used as an association Class.
• Frame Box
- provides a way of adding a box or background image to the diagram.
• Note
- provides a way of adding text to the diagram.
• Note Link
- links a Constraint, Comment or Note to an item on the diagram.