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.
- Download Game.vpp. You can also find this file at the bottom of this tutorial.
- Open the downloaded .vpp file in Visual Paradigm. To open a project, select Project > Open from the application toolbar.
- Create a new use case diagram.
- Create a use case using the diagram toolbar and name it Play game.

- Right-click on the Play game use case and select Open Use Case Details... from the main menu.

- When the use case details are opened, click the Flow of Events tab to start editing steps in the flow of events editor.

- 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.

- 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.

- 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.

- 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.

- Below is the completed flow of events for the Play game use case using control flow:
