UML Diagram Examples
Examples of UML diagrams - class diagrams, use case diagrams, activity diagrams, state machine diagrams and other.
Examples of UML use case diagrams. User requirements for various systems modeled using use cases. You can download a SIMP file for each use case example.
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.
Examples of various processes depicted in activity diagrams. Each activity diagram example is also available as a SIMP file to download.
Various examples of UML sequence diagrams. Each sequence diagram example is available as an image and also as SIMP file which you can edit in the SIM diagram editor.
Various state machine diagram examples and templates to download. The diagrams show the states and transitions between them for various modeled systems.
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 state machine diagram shows the states of students' enrollment to an exam at a university using an exam registration system.
The activity diagram depicts the process of renting a car by a client from the car rental system.
The example shows a UML composite structure diagram with collaboration and its binding roles for modeled objects during processing a debit card payment.
The UML state machine diagram describes the operation of a microwave oven in terms of various states and transitions between them.
The example project models a hospital management system using UML use case, class and sequence diagrams.
A UML sequence diagram example that shows the process of buying a drink by a customer and making it by a vending machine.
An example of a UML sequence diagram for a taxi booking system. It shows interactions between customers, taxi drivers, apps, and the taxi system server.
Modules of a billing system depicted on a UML component diagram. The example diagram shows the high-level architecture of the billing system.
An example of a UML state machine diagram that describes states of an air conditioner and the transitions between them.
This example of a UML sequence diagram shows the behavior of a report generation system.
Three-tier application architecture is depicted on a UML component diagram.
An example of a UML communication diagram for online shopping in an e-shop. It shows the interactions between the e-shop modules in the form of numbered messages that they exchange with each other.
A UML component diagram for a chatbot. The example shows a messenger chatbot architecture using components, nested components, and provided and required interfaces.
A deployment diagram for e-commerce microservices. The example shows nodes within e-commerce system architecture, the deployed components, and the REST API interfaces.
This examples shows a UML sequence diagram for a user feedback system.
An example of a UML sequence diagram for shopping cart processing. It shows the user manipulation with a shopping cart in an e-shop.
An example of a UML state machine diagram for an elevator. The statechart shows various states of an elevator and the transitions between them.
A UML sequence diagram for the user registration process. This example depicts how a user interacts with a sign-up form.
A UML sequence diagram example for a login module. It shows how a user login is handled by an authentication system.
The example describes a library management system domain model using a UML class diagram.
A UML activity diagram example that depicts a for-each loop using an expansion region element. The example shows the algorithm of marking all email messages as read.
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.
An example of the sequence diagram for withdrawing money from ATM using 3 lifelines.
An example of a UML state machine diagram for a car. It depicts the states for an engine off and on. The states as park, neutral, drive and reverse are part of the composite state engine on.
The UML diagrams describe a life insurance system. The life insurance system registers clients and supports insurance processes. The actors and their interactions with the system are modeled using a use case diagram. The project describes these insurance processes using UML activity diagrams - new client registration for insurance, insurance claim, and insurance premium collection.
A UML state machine diagram that depicts the particular phases of a spaceflight.
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.
The decorator pattern is a design pattern that allows behavior to be added to an object, dynamically, without affecting the behavior of other objects from the same class.
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.
A diagram with use cases for Restaurant Order System. An example of UML Use Case diagram.
A lifecycle of reading a book depicted in a statechart.
Processor, memory, motherboard, hard disk, power supply unit - the structure of computer hardware described in UML composite structure diagram.
Example of use case diagram. A part of Hotel Room Booking System series.
Example of UML class diagram with various element types.