Advanced Use Case Flow of Events Editing

Flow of events are the steps required to perform within a use case. Now, with Visual Paradigm for UML 8.0 (VP-UML), 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
User Rating: / 0
Views: 2,626
PDF Link Add comments
Edition: Professional or above (Edition comparison)

  1. Download Game.vpp from this tutorial in advance.
  2. Open the project with VP-UML.
  3. Create a new use case diagram.
  4. Create a use case through diagram toolbar and name it as Play game.
    create use case
  5. Right click on Play game use case and select Open Use Case Details... from the main menu.
    open details
  6. When the use case details is opened, click Flow of Events tab to start editing steps in flow of events editor.
    flow of event tab
  7. You can insert If from the control menu to explain the variable situation. In this example, the first step is Enter password and the variable situation is the player may enter and incorrect password. Let's select If from the control menu and enter password invalid.
    add if
  8. You can also insert Jump to manipulate the sub-step after the variable situation happened. In this example, when the player enters an incorrect password, s/he is expected to go back to the previous step to enter 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 flow of event by highlighting them and selecting a formatting setting from the Format button. Let's turn the word invalid in red and then bold it. Highlight invalid, select Font Color from the drop-down menu of Font button and select red. Similarly, bold invalid.
    set font
  11. Below is the completed flow of events for Play game use case using control flow:
    finished editing

Resources

  1. Game.vpp

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

You may be interested in

  1. Writing Effective Use Case
  2. UML Package Diagram
    Tagged:
  3. Draw Entity Relationship Diagram (ERD)
    Tagged:
  4. Produce UML Use Cases from Business Process Diagram (BPD)
  5. Draw UML Sequence Diagram with Keyboard
Tags of this article:

Comments (2)

written by Boog on December 16, 2011

I'm so glad that the internet alolws free info like this!

written by Kaedn on December 18, 2011

I feel so much happier now I unrdestand all this. Thanks!

Write comment

Rating

Comment

Enter the calculation result

security code