Class Diagram Examples
You can find here examples of UML class diagrams for systems from various domains. Each class diagram example can be downloaded as a SIMP file.
The diagram shows an example of a purchase model in the store's cash register software. It utilizes the UML n-ary association element.
The UML class diagram example shows the entities needed for the medical examination model. The example shows usage of n-ary association.
The example project models a hospital management system using UML use case, class and sequence diagrams.
The example describes a library management system domain model using a UML class diagram.
An example of generalizations in UML class diagram. The class diagram shows haematopoiesis of the human immune system. The diagram shows an example of UML inheritance.
Example of class composition in UML class diagram. The class diagram shows the human nervous system.
The executed commands may be stored in a stack to provide undo and redo functionality. These diagrams show the structure and behavior of a command stack.
Proper logs are essential for long-term system administration. A good logging module should be extensible, configurable and easy to use. This example model may be a good starting point for your solution. It allows you to dynamically change the outputs for the logs and log to multiple targets at once.
This example project shows the design of a document management system (DMS) including its use cases and object structure.
Linked list and doubly linked list data structures depicted in UML diagrams.
If you want to make existing code work with another existing code without modifying any of the existing interfaces you can use Adapter design pattern.
A diagram of classes in Restaurant Order System. An example of UML Class diagram.
Example of UML class diagram with various element types.