Unified Modeling Language - Wikipediaapp
OMG | Object Management Groupide
What is Unified Modeling Language (UML)?ui
- https://www.visual-paradigm.com/guide/uml-unified-modeling-language/what-is-uml/
- What is Class Diagram?
- https://www.visual-paradigm.com/guide/uml-unified-modeling-language/what-is-class-diagram/
- Class Diagram - Diagram Tool Example
- A class diagram may also have notes attached to classes or relationships. Notes are shown in grey.

- In the example above:
- We can interpret the meaning of the above class diagram by reading through the points as following.
- Shape is an abstract class. It is shown in Italics.
- Shape is a superclass. Circle, Rectangle and Polygon are derived from Shape. In other words, a Circle is-a Shape. This is a generalization / inheritance relationship.
- There is an association between DialogBox and DataController.
- Shape is part-of Window. This is an aggregation relationship. Shape can exist without Window.
- Point is part-of Circle. This is a composition relationship. Point cannot exist without a Circle.
- Window is dependent on Event. However, Event is not dependent on Window.
- The attributes of Circle are radius and center. This is an entity class.
- The method names of Circle are area(), circum(), setCenter() and setRadius().
- The parameter radius in Circle is an in parameter of type float.
- The method area() of class Circle returns a value of type double.
- The attributes and method names of Rectangle are hidden. Some other classes in the diagram also have their attributes and method names hidden.