Advanced Use Case Flow of Events Editing

Flow of events are the steps required to perform within a use case. Now, with Visual Paradigm, you can define complex flow structure by specifying control flows, such as if, while and jump, within the steps. This tutorial is going to demonstrate how to define control flow within the flow of events.

August 16, 2010
Views: 61,805
PDF Download
Compatible: Enterprise, Professional
  1. Download Game.vpp. You can also find this file at the bottom of this tutorial.
  2. Open the downloaded .vpp file in Visual Paradigm. To open a project, select Project > Open from the application toolbar.
  3. Create a new use case diagram.
  4. Create a use case using the diagram toolbar and name it Play game.
    create use case
  5. Right-click on the Play game use case and select Open Use Case Details... from the main menu.
    open details
  6. When the use case details are opened, click the Flow of Events tab to start editing steps in the flow of events editor.
    flow of event tab
  7. You can insert an If statement from the control menu to explain variable situations. In this example, the first step is Enter password, and the variable situation is that the player may enter an incorrect password. Let's select If from the control menu and enter password invalid.
    add if
  8. You can also insert a Jump to manipulate the sub-step after the variable situation occurs. In this example, when the player enters an incorrect password, he/she is expected to go back to the previous step to enter the password again. Let's select Jump from the control menu.
    jump to
  9. Click the upside-down triangle of jump to to select Select target from the pop-up menu. After you click the small yellow arrow of step 1, step 1 shows in step 2.1.
    select target
  10. You can specify the formatting of the text in the flow of events by highlighting it and selecting a formatting setting from the Format button. Let's turn the word invalid red and then bold it. Highlight invalid, select Font Color from the drop-down menu of the Font button, and select red. Similarly, bold invalid.
    set font
  11. Below is the completed flow of events for the Play game use case using control flow:
    finished editing