How to Draw Use Case Diagram?

Use case diagram is a kind of UML diagram that enables you to model system functions (i.e. goals) as well as the actors that interact with those functions. You can draw use case diagrams in Visual Paradigm as well as to document the use case scenario of use cases using the flow-of-events editor. In this page, you will see how to draw use case diagram with the UML tool.

Creating a use case diagram

Perform the steps below to create a UML use case diagram in Visual Paradigm.

  1. Select Diagram > New from the application toolbar.
  2. In the New Diagram window, select Use Case Diagram.
  3. Click Next.
  4. Enter the diagram name and description. The Location field enables you to select a model to store the diagram.
  5. Click OK.

Drawing a system

To create a system in use case diagram, select System on the diagram toolbar and then click it on the diagram pane. Finally, name the newly created system when it is created.

Create a system
Create a system

Drawing an actor

To draw an actor in use case diagram, select Actor on the diagram toolbar and then click it on the diagram pane. Finally, name the newly created actor when it is created.

Create an actor
Create an actor

Drawing a use case

Besides creating a use case through diagram toolbar, you can also create it through Resource Catalog:

  1. Move the mouse over a source shape (e.g. an actor).
  2. Press on the Resource Catalog button and drag it out.
    Resource Catalog
    Resource Catalog
  3. Release the mouse button until it reaches your preferred place.
  4. Select Association -> Use Case from Resource Catalog.
    To create a use case
    To create a use case
  5. The source shape and the newly created use case are connected. Finally, name the newly created use case.
    Use Case created
    Use Case created

Line wrapping use case name

If a use case is too wide, you may resize it by dragging the filled selectors for a better outlook. As a result, the name of use case will be line-wrapped automatically.

Resize a use case
Resize a use case
NOTE: Alternatively, you can press Alt + Enter to force a new line.

Drawing <<Extend>> relationship

To create an extend relationship, move the mouse over a use case, press and drag out its Resource Catalog button. Then, release the mouse button at the preferred place and select Extend -> Use Case from Resource Catalog. The use case with extension points and a newly created use case are connected. After you name the newly created use case, you can name the extension point.

Create an extend relationship
Create an extend relationship

Drawing <<Include>> relationship


To create an include relationship, move the mouse over a use case, press and drag out its Resource Catalog button. Then, release the mouse button at the preferred place and select Include -> Use Case from Resource Catalog. A new use case together with an include relationship is created. Finally, name the newly created use case.

Include relationship is created
Include relationship is created

Structuring use cases with package

You can organize use cases with package when there are many of them on the diagram.

Select Package on the diagram toolbar.

Create a package
Create a package

Drag the mouse to create a package surrounding those use cases.

Surround use cases with package
Surround use cases with package

Finally, name the package.

Name the package

Name the package

Drawing business use case

The uml diagram tool also supports the representation of business actor and use case. To show an ordinary use case as business use case:

  1. Right click on a use case and select Model Element Properties > Business Model from the pop-up menu.
    Click Business Model
    Click Business Model
  2. After selected, an extra slash will be shown on the left edge of the use case.
     
    Business Model

Related Resources

The following resources may help you to learn more about the topic discussed in this page.

 
Chapter 1. Use case diagram Table of Contents 2. Use case diagram notations guide

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.OK