Go to [Diagram] – [Class Diagram] to create a Class diagram.
You can automatically create Class diagrams of a package.
This creates a class diagram without Attributes and Operations inside the classes.
This creates a class diagram with Attributes and Operations inside the classes.
This creates a class diagram with the whole models including models inside the sub-packages if the package you select has sub-packages.
You can find out 5 ways to create a Class in the Diagram Editor page.
You can create a Template Class by adding Template Parameters to a class. There are two ways to do so.
You 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.
There are several ways to show/hide attributes.
In order to change the visibility of attributes on a currently-opened diagram, open the [Initial Visibility] tab from the left-bottom pane in Astah and check the options you want in a diagram and click the [Apply to existing elements] button.
You 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.
You 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.
You can create an anonymous bound class by deleting the name of Bound Class.
Anonymous Bound Classes can be specified to the following:
You can have a class nested to a package by dragging it into a Package.
You 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.
You can jump to the Association ends from association line’s pop-up menu.
As your diagram gets complex, association names could be left out and end up being far away from the association line.
In that case, you can bring the association name back to the center of the association line.
Right-click on an association line and click [Init Label Position].