Generate Sequence Diagram from Use Case Flow of Events

A use case can be used to model a system goal/core system function. Each use case imply a sequence of steps involve in accomplishing the use case. For example, a login use case involves steps like user enters the id, user enters password, user clicks Login. The steps for accomplishing a use case can be documented with the flow of events editor by text. Moreover, you can generate sequence diagram from flow of events editor, to visualize the steps in sequence diagram. In this tutorial, we will try to document the flow of events of a use case as well as to generate sequence diagram from it.

May 3, 2011
User Rating: / 5
Views: 5,415
PDF Link Add comments
Edition: Professional or above (Edition comparison)

  1. Start VP-UML.
  2. Open the project Online Wine Shop.vpp attached with this tutorial. To open a project, select File > Open Project... from the main menu.
  3. Open the use case diagram Online Wine Shop.
    open ucd
  4. Right click on the use case Order Wine and select Open Use Case Details... from the popup menu.
    open use case details
  5. Enter the first step Browse wine catalog. This is the first action user will do under the Order Wine use case.
    step one
  6. Press Enter to proceed to step 2.
  7. The system will display the catalog to user. Click on the Insert button in toolbar and select System Response from the drop down menu.
    insert sys response
  8. Enter Show catalog after the keyword SYSTEM.
    step two
  9. Press Enter to proceed to step 3.
  10. Enter step 3: Choose a wine. Enter step 4: Click [Order].
    step three four
  11. Follow what you did above to add a system response in step 5: Show payment page.
    step five
  12. Enter step 6: Enter payment information.
    step six
  13. Here we want to let the buyer request for a fax of order details. Click on the Insert button in toolbar and select Extension from the popup menu.
    add extension
  14. This brings you to extension pane. In step 6.a., enter Request fax.
    step six a
  15. Press Enter and enter Click [Request Fax] for step 6.a.1. Press Enter again and enter Fill in fax number for step 6.a.2.
    extension entered
  16. Go back to the main flow. Enter step 7, the last step: Click [Confirm].
    flow of events done
  17. We have just completed the flow of events. Let's generate sequence diagram from it. Click on the Synchronize button in toolbar and select Synchronize to Sequence Diagram from the popup menu.
    sync
    A sequence diagram is generated from the flow of events in a second.
    sd generated

Resources

  1. Online Wine Shop.vpp
  2. Online Wine Shop-completed.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. Draw Entity Relationship Diagram (ERD)
    Tagged:
  3. UML Package Diagram
    Tagged:
  4. Produce UML Use Cases from Business Process Diagram (BPD)
  5. Oracle database design with Entity Relationship Diagram
Tags of this article:

Comments (1)

written by Jennis on October 30, 2011

Action rqeiures knowledge, and now I can act!

Write comment

Rating

Comment

Enter the calculation result

security code