Create a Class diagramGo to [Diagram] – [Class Diagram] to create a Class diagram. Show Auto-create Class diagramsYou can automatically create Class diagrams of a package.
1. SimpleThis creates a class diagram without Attributes and Operations inside the classes. 2. DetailedThis creates a class diagram with Attributes and Operations inside the classes. 3. Unpack SubpackagesThis creates a class diagram with the whole models including models inside the sub-packages if the package you select
has sub-packages. Creating a ClassYou can find out 5 ways to create a Class in the
Diagram Editor page. Template ClassYou can create a Template Class by adding Template Parameters to a class. There are two ways to do so.
AttributesYou can create Attributes by clicking the orange diamond that appears when you have a mouse over a
Class. Also, you can create another attribute by hitting the [Enter] key while an attribute is
selected. Since version 8.5, you can add Attributes by pasting a copied text. Attribute VisibilitiesThere are several ways to show/hide attributes. OperationsYou can create Attributes by clicking a green bar that appears when you have a mouse over a
Class. Also, you can create another attribute by hitting [Enter] key while an attribute is selected. Moving Attributes/OperationsYou can move
around attributes/operations by dragging them to another class or within a class. Since version 8.5, you can add Operations by pasting a copied text. Anonymous Bound ClassYou can create an anonymous bound class by deleting the name of Bound
Class. Anonymous Bound Classes can be specified to the following:
Example of creating a Bound Class
Nest a ClassYou can have a class nested to a package by dragging it into a Package. AssociationYou can create associations by choosing an association type from a small icon list that appears when you hover a mouse over a class, then directly click on the target
class. Please refer to “Drawing Lines” for more information. Jump to Association EndsYou can jump to the Association ends from association line’s pop-up menu.
Relocate Association nameAs your diagram gets complex, association names could be left out and end up being far away from the association line. |