Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

A use case diagram is a type of behavioral diagram defined by and created from a Use-case analysis. Its purpose is to present a graphical overview of the functionality provided by a system in terms of actors, their goals (represented as use cases), and any dependencies between those use cases.

Use case diagrams are used in software development to identify and clarify the primary business processes and requirements of the system. They are very useful in communicating the high-level functionality and scope of the system to stakeholders, including end-users, developers, and managers.

Here's a breakdown of the main components of a use case diagram:

  1. Actors: These are the entities that interact with the system. Actors can be people, other software systems, or hardware devices. For example, in a banking system, "Customer" and "Bank Teller" could be actors.

  2. Use Cases: These represent the specific actions that an actor can perform with the system. Use cases are the specific functionalities the system delivers. For instance, in a banking system, "Deposit Money", "Withdraw Money", and "Check Balance" could be use cases.

  3. Relationships: These are the connections between actors and use cases, usually represented by lines. There are several types of relationships, including:

    • Association: This is a communication link between the actors and use cases. An association exists whenever an actor is involved with an interaction described by a use case.

    • Include: This relationship is a directed relationship between two use cases which is used to show that the behavior of the included use case (the addition) is inserted into the behavior of the including (the base) use case.

    • Extend: This relationship indicates that the behavior of a use case may be extended by the behavior of another (usually independent) use case.

  4. System: This is the specific system for which you're designing or analyzing use cases. The system is usually represented as a boundary box, within which all use cases exist.

By creating use case diagrams, you can more effectively communicate system behavior in the user's terms, by showing the system's intended functionality and its interaction with users.

...