UML Diagrams

Example for illustrating how to apply UML with 13 different diagram types, such as use case, class, state machine, sequence, collaboration, activity, component, deployment, composite structure, timing, interaction overview diagrams.

A Star-Based LAN

This is a UML class diagram example that shows how a star based LAN can be modeled. Token-ring LANs form…

A Token-Ring Based LAN

This is a UML class diagram example that shows how a token ring based LAN network can be modeled. A…

Company Structure

This is a class diagram example that shows how company entities can be modeled. A company consists of departments. Departments…

Understanding Relationships

This is a simple UML class diagram example that shows the use of various UML relationships in a class diagram.…

File Output (Use of Generalization)

In this class diagram example, there is a number of output devices on which the display command should be able…

Telephone (Use of Association)

This is a UML class diagram example. The telephone set has a number of parts: ringer, answering machine, and caller…

Deployment Diagram with Components

This is a Deployment Diagram example. A component is a code module. Component diagrams are physical analogs of class diagram. Deployment diagrams show the…

State Diagram Example – Phone Call

This is a UML state machine diagram example for telephone. A state diagram is a graph whose node are state…

Hotel Reservation

This is a Communication Diagram example for hotel reservation. Communication diagrams are also interaction diagrams. They convey the same information…

MVC Framework

This is a UML sequence diagram example for MVC design pattern. Entities are objects representing system data: Customer, Product, Transaction,…