WhatIs.com

use case diagram (UML use case diagram)

By TechTarget Contributor

A use case diagram is a way to summarize details of a system and the users within that system. It is generally shown as a graphic depiction of interactions among different elements in a system. Use case diagrams will specify the events in a system and how those events flow, however, use case diagram does not describe how those events are implemented.

A use case is a methodology used in system analysis to identify, clarify, and organize system requirements. In this context, the term "system" refers to something being developed or operated, such as a mail-order product sales and service Web site. Use case diagrams are employed in UML (Unified Modeling Language), a standard notation for the modeling of real-world objects and systems. There are a number of benefits with having a use case diagram over similar diagrams such as flowcharts.

Use case diagram uses

The reasons why an organization would want to use case diagrams include:

How use case diagrams work

System objectives can include planning overall requirements, validating a hardware design, testing and debugging a software product under development, creating an online help reference or performing a consumer-service-oriented task. For example, use cases in a product sales environment would include item ordering, catalog updating, payment processing, and customer relations. A use case diagram contains four components.

A use case diagram looks something like a flowchart, where intuitive symbols represent the system elements. Here's a simple example:

Use case diagram restaurant model

VS flowcharts

Use case diagrams and flowcharts have similar looks to them, but use case diagrams have important distinctions. For one, use case diagrams represent functionality in a top-down fashion. And tend to support analysis better. Flow charts will tend to show behaviors linearly and time-based. Every stage of development should have a use case diagram describing how users interact with the system. A flow chart cannot describe a system until it is finished, and small changes in the process will require more on that flowchart to change. However, use case diagrams can be changed in scope pretty quickly, and it does not require as much effort to re-work as a flowchart does.

24 Jul 2020

All Rights Reserved, Copyright 1999 - 2024, TechTarget | Read our Privacy Statement