Drawing use case diagrams

Use case diagrams can be created in Visual Paradigm for UML. It is recommended to group related diagrams and model elements in a model, this could improve the performance while saving and loading the project.

Creating a use case diagram

Right click Use Case Diagram on Diagram Navigator and select New Use Case Diagram from the pop-up menu.

Create a use case diagram

Create a use case diagram

 

Enter name for the newly created use case diagram in the text field of pop-up box on the top left corner.

Enter name for the newly created use case diagram

Enter name for the newly created use case diagram

Drawing a system

To create a system, 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, 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 icon.

Move the mouse over a shape and press a resource icon that can create use case. Drag it and then release the mouse button until it reaches to your preferred place. The source shape and the newly created use case are connected. Finally, name the newly created use case.

Create a use case through resource icon

Create a use case through resource icon

Line wrapping use case name

If a use case is too wide, for a better outlook, you may resize it by dragging the filled selectors. 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 and press its resource icon Extend -> Use Case. Drag it to your preferred place and then release the mouse button. The use case with extension points and a newly created use case are connected. After you name the newly created use case, a pop-up dialog box will ask whether you want the extension point to follow the name of use case. Click Yes if you want it to do so; click NO if you want to enter another name for extension point.

Create an extend relationship
Create an extend relationship

Drawing <<Include>> relationship

To create an include relationship, mouse over a use case and press its resource icon Include -> Use Case. Drag it to your preferred place and then release the mouse button. 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 (under Common category).

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

Assigning IDs to actors/Use cases

You may assign IDs to actors and use cases. By default, IDs are assigned with the order of object creation, starting from one onwards. However, you can define the format or even enter an ID manually.

Defining the format of ID

To define the format of ID, select Tools > Options from the main menu to unfold the Options dialog box. Select Diagramming from the list on the left hand side and select the Use Case Diagram tab on the right hand side. You can adjust the format of IDs under Use Case Diagram tab. The format of ID consists of prefix, number of digits and suffix.

Use Case Diagram tab
Use Case Diagram tab

The description of options for ID generator format is shown below.

OptionDescription
Prefix The prefix you enter in Prefix text field will be inserted before the number.
Num of digits The number of digits for the number. For example, when digit is 3, ID "1" will become "001".
Suffix The suffix you enter in Suffix text field will be inserted behind the number.
Options for formatting ID

Showing ID on diagram

By default, ID is just a text property. It usually doesn't appear on diagram. However, you can make it shown within a use case.

Right click on the diagram background, select Presentation Options and the specific model element display option from the pop-up menu.

Show ID on diagram
Show ID on diagram

As a result, the use case is displayed with ID.

A use case with ID displayed
A use case with ID displayed
NOTE: The feature of showing ID does only support for use case, but not for actor.

ID assignment

There are several ways that you can assign an ID to a model element, including:

Drawing 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
    Business model