Lab 4 - Introduction To Uml Diagrams in Visual Paradigm: Use Case Diagram
Lab 4 - Introduction To Uml Diagrams in Visual Paradigm: Use Case Diagram
CASE DIAGRAM
Objectives
• Exploring modern UML tools
• Introduction to Visual Paradigm and its User Interface
• Creating a Use Case Diagram in Visual Paradigm
1. UML Tools:Many professional UML tools are available on the internet (for free and/or paid) that let
you draw UML diagrams with ease. This course will use Visual Paradigm as the standard UML tool for
modelling.
2. Visual Paradigm: Visual Paradigm is a powerful, cross-platform UML CASE Tool supporting UML
2.x, SysML and Business Process Modelling Notation (BPMN) from the Object Management Group
(OMG). In addition to modelling support, it provides report generation and code engineering capabilities
including code generation. It can reverse engineer diagrams from code and provide round-trip
engineering for various programming languages. User can draw all UML 2.x diagrams (as shown in
image above) in Visual Paradigm's UML tools.
3. Visual Paradigm for UML 8.0 Enterprise Edition: The lab computers have this version of Visual
Paradigm installed and ready to use. Either use the lab computers for this course or acquire the version
present in the lab and install it on your laptop as per instructions.
NOTE: You may use the latest version of Visual paradigm (available for download on their official
website) or any other UML tool in fact, however the user interface and steps may differ from the
ones demonstrated in lab tasks.
4. Interface overview:
Visual Paradigm's user interface comprises a toolbar, diagram navigator, a diagram editor and a status bar.
Diagram
2 Allows you to draw any of the supported diagrams.
Navigator
Notifications are shown here. You can also open the message pane and
4 Message pane
description pane from the bottom right of the status bar.
Steps of ‘saving a new project’ in Visual Paradigm for UML 8.0 Enterprise Edition
Create a system
Drawing an actor
To draw an actor in use case diagram, 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
Resource Catalog
5. The source shape and the newly created use case are connected. Finally, name the newly created use
case.
If a use case is too wide, you may resize it by dragging the filled selectors for a better outlook. As a
result, the name of use case will be line-wrapped automatically.
To create an include relationship, move the mouse over a use case, press and drag out its Resource Catalog
button. Then, release the mouse button at the preferred place and select Include -> Use Case from Resource
Catalog. A new use case together with an include relationship is created. Finally, name the newly created
use case.