Skip to content

Instantly share code, notes, and snippets.

@amelieykw
Last active May 16, 2018 08:10
Show Gist options
  • Save amelieykw/7918733f6f671cbd3b647af93565a43d to your computer and use it in GitHub Desktop.
Save amelieykw/7918733f6f671cbd3b647af93565a43d to your computer and use it in GitHub Desktop.
[UML - Use Case Diagrams] #UML #UseCaseDiagrams #UseCase #actors #aParticularFunctionalityOfaSystem

Dynamic behavior means the behavior of the system when it is running/operating.

5 diagrams to model Dynamic behavior :

  1. Use Case
  2. activity
  3. sequence
  4. collaboration
  5. Statechart

Use Case Diagram

Some internal or external factors (actors) for making the interaction.

Use case diagrams consists of :

  • actors
  • use cases
  • their relationships

The diagram is used to model the system/subsystem of an application.

A single use case diagram captures a particular functionality of a system. Hence to model the entire system, a number of use case diagrams are used.

Use case diagrams are used to gather the requirements of a system including internal and external influences. These requirements are mostly design requirements. Hence, when a system is analyzed to gather its functionalities, use cases are prepared and actors are identified.

When the initial task is complete, use case diagrams are modelled to present the outside view.

In brief, the purposes of use case diagrams can be said to be as follows −

  • Used to gather the requirements of a system.
  • Used to get an outside view of a system.
  • Identify the external and internal factors influencing the system.
  • Show the interaction among the requirements are actors.

Use cases diagrams = high-level requriement analysis of a system -> functionalities captured in use cases

Use cases = nothing but the system functionalities written in an organized manner

Actors = something that interacts with the system (a human user, some internal applications, external applications)

When draw an use case diagram :

  • Functionalities to be presented as use cases
  • Actors
  • Relationships among the use cases and actors

example

Use case diagrams specify the events of a system and their flows. But use case diagram never describes how they are implemented. Use case diagram can be imagined as a black box where only the input, output, and the function of the black box is known.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment