UML Class Diagram. Design Elements
UML Class Diagram is a type of Structure Diagrams that shows the classes of a system, attributes, operations, and the relationships between them.
Class Diagram is one of important types of UML Diagrams. UML Class Diagrams are used for static modeling of the system, for data modeling, for conceptual modeling of the application, and for modeling of the system dictionary.
On the Class Diagram, Classes are represented as boxes that consist of three parts: name, attributes of the class, and operations or methods.
Use the following notations to set the visibility of a class member: Public (+), Private (-),
Protected (#), Derived (/), Static (_), Package (~). Notation must be placed before the name of class member.
There are a few types of associations between objects and classes on the Class Diagrams.
Bi-directional associations are represented by a line between two classes, it is default connection between classes.
Uni-directional associations are represented as the unbroken lines with an open arrowhead.
Aggregation is an association with the relation between the whole and its parts, and is represented as empty diamond on the Class Diagram.
Composition is a strong variant of aggregation, represents on as filled diamond.
Generalization or inheritance is when a child object or class assumes all properties of his parent object or class, is represented as empty triangle.
There are four notations: 0..1, 1, 0..*, 1..*, that indicate the multiplicity of associations.
The Rapid UML Solution for ConceptDraw DIAGRAM contains 13 vector stencils libraries with 393 interactive shapes that you can use to design your UML diagrams.
To design your own Class Diagram use the UML Class Diagram library.
UML Class Diagram library contains 39 shapes:
- Class
- Class 2
- Object 1
- Object 2
- Self association
- Interface
- Template class
- NARY
- Text Label
- Symbol { }
- Symbol << >>
- Divider (Vertical)
- Divider
- Association without ratio
- Association
- Association One-to-Many
- Association Many-to-Many
- Association One-to-One
- Inheritance
- Composition
- Aggregation
- Inheritance
- Dependency
- Connector
- Package
- Frame, fragment
- Note
- Callout
- Component
- Interface 2
- Realization
- Generalization
- UML Connector (Direct)
- UML Connector
- UML Connector (opposite)
- UML Connector (opposite direction)
- Association (without aggregation)
- Note Connector
Pic.1. UML Class Diagram Library
Pic.2. UML Class Diagram Library Elements
ConceptDraw Rapid UML solution provides UML Class Diagram library of vector stencils for drawing the class diagrams using class blocks and assembly connectors.
All libraries for creating UML diagrams are available inside the ConceptDraw DIAGRAM Templates and samples are located in the Rapid UML section of ConceptDraw STORE.
Pic.3. UML Diagrams solution
Use design element from the UML Class Diagram library to draw your own UML class diagrams of complex systems and software applications.












