Use Case Diagram
About
A Use Case Diagram represents high-level system functionality and the interactions between actors (users or systems) and use cases (functionalities). It helps in understanding user requirements and system scope.
Refer to the official documentation for more details - https://plantuml.com/use-case-diagram
Key Elements
Actors
External entities (users, systems) that interact with the system.
Represented as stick figures.
Use Cases
System functionalities represented as ovals.
Describes what the system does, not how.
Relationships
Association (solid line) – Connects actors and use cases.
Include (
<<include>>
) – Reusable functionality between use cases.Extend (
<<extend>>
) – Optional or conditional behavior.
System Boundary
A rectangle that encloses all use cases within a system.
1. Online Shopping System
This diagram represents an Online Shopping System with different actors and use cases.
Actors (
actor
): RepresentCustomer
andAdmin
.Use Cases (
(UseCase)
): Define system functionalities.Relationships:
Direct association (
-->
)Include (
-->
):Place Order
includesMake Payment
.Extend (
-->
):Apply Discount
is optional.
Last updated
Was this helpful?