A Class is drawn as a solid-outline rectangle with three compartments separated by horizontal lines. The top name compartment holds the class name and other general properties of the Class (including stereotype); the middle list compartment holds a list of properties; the bottom list compartment holds a list of operations. The property and operation compartments are optional, so you can suppress them.
To create a class element
- On the left side of your model, find the available options under the Class diagram toolbar and click on Class.
- You will see an arrow for a drop-down menu which you can click if you wish to create a different kind of Class element.
- In any case, either
- Click on the element and then click anywhere on your diagram pane, or
- Drag and drop, the element you clicked on, anywhere on your diagram pane.
At this point, you should have a Class element in your Class diagram, as shown in figure below.
![MagicDraw 2022x Refresh2 > Creating Class Elements > Screen Shot 2017-06-21 at 6.22.38 PM.png](/download/attachments/122986562/Screen%20Shot%202017-06-21%20at%206.22.38%20PM.png?version=1&modificationDate=1684667956434&api=v2)