0% found this document useful (0 votes)
157 views10 pages

Lab 4 - Introduction To Uml Diagrams in Visual Paradigm: Use Case Diagram

1. Open Visual Paradigm and create a new UML project. 2. Create a new use case diagram and name it. 3. Draw a system boundary and name the system. 4. Add actors to the diagram and name them. 5. Draw use cases and connect them to the relevant actors with relationships. 6. Add extensions and include relationships between use cases. 7. Organize use cases using packages if needed. 8. Save the use case diagram in the Visual Paradigm project.

Uploaded by

Muqadas Hassan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
157 views10 pages

Lab 4 - Introduction To Uml Diagrams in Visual Paradigm: Use Case Diagram

1. Open Visual Paradigm and create a new UML project. 2. Create a new use case diagram and name it. 3. Draw a system boundary and name the system. 4. Add actors to the diagram and name them. 5. Draw use cases and connect them to the relevant actors with relationships. 6. Add extensions and include relationships between use cases. 7. Organize use cases using packages if needed. 8. Save the use case diagram in the Visual Paradigm project.

Uploaded by

Muqadas Hassan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

LAB 4 – INTRODUCTION TO UML DIAGRAMS IN VISUAL PARADIGM: USE

CASE DIAGRAM
Objectives
• Exploring modern UML tools
• Introduction to Visual Paradigm and its User Interface
• Creating a Use Case Diagram in Visual Paradigm

Time Required : 3 hrs


Programming Language : NIL
Software Required : Web browser, Visual Paradigm
Hardware Required : computer system

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.

20 SOFTWARE CONSTRUCTION & DEVELOPMENT


User Interface of Visual Paradigm for UML 8.0 Enterprise Edition

No. Name Description

A tabbed toolbar that allows you to perform various operations in Visual


1 Toolbar
Paradigm.

Diagram
2 Allows you to draw any of the supported diagrams.
Navigator

3 Diagram editor The diagram will be displayed in diagram editor.

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.

Description of user interface

Creating a New Project:(see snapshot of steps on next page)


1. Select Project > New from the toolbar.
2. The New Project window appears.
3. Select Language: UML
4. Set your Project Name
5. Click create blank project.

21 SOFTWARE CONSTRUCTION & DEVELOPMENT


Steps of ‘creating a new project’ in Visual Paradigm for UML 8.0 Enterprise Edition

Saving a Project: (see snapshot of steps below)


1. Click File> Save Project and a new dialog box will open.
2. Set your file name. The extension for Visual Paradigm project will (.vpp)
3. Set the file Location on the hard drive where you want to save your project.
4. Click OK

Steps of ‘saving a new project’ in Visual Paradigm for UML 8.0 Enterprise Edition

22 SOFTWARE CONSTRUCTION & DEVELOPMENT


Creating a use case diagram
Perform the steps below to create a UML use case diagram in Visual Paradigm.
1. Select Diagram > New from the application toolbar.
2. In the New Diagram window, select Use Case Diagram.
3. Click Next.
4. Enter the diagram name and description. The Location field enables you to select a model to store the
diagram.
5. Click OK.
Drawing a system
To create a system in use case diagram, select System on the diagram toolbar and then click it on the
diagram pane. Finally, name the newly created system when it is created.

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

23 SOFTWARE CONSTRUCTION & DEVELOPMENT


Drawing a use case
Besides creating a use case through diagram toolbar, you can also create it through Resource Catalog:
1. Move the mouse over a source shape (e.g. an actor).
2. Press on the Resource Catalog button and drag it out.

Resource Catalog

3. Release the mouse button until it reaches your preferred place.


4. Select Association -> Use Case from Resource Catalog.

To create a use case

5. The source shape and the newly created use case are connected. Finally, name the newly created use
case.

Use Case created

Line wrapping use case name

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.

Resize a use case

NOTE:Alternatively, you can press Alt + Enter to force a new line.


Drawing <<Extend>> relationship

24 SOFTWARE CONSTRUCTION & DEVELOPMENT


To create an extend 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 Extend -> Use Case from Resource
Catalog. The use case with extension points and a newly created use case are connected. After you name the
newly created use case, you can name the extension point.

Create an extend relationship

Drawing <<Include>> relationship

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.

Include relationship is created

Structuring use cases with package


You can organize use cases with package when there are many of them on the diagram.
Select Package on the diagram toolbar.

25 SOFTWARE CONSTRUCTION & DEVELOPMENT


Create a package

Drag the mouse to create a package surrounding those use cases.

Surround use cases with package

Finally, name the package.

Name the package

26 SOFTWARE CONSTRUCTION & DEVELOPMENT


LAB TASK
[Total Marks = 10]

Lab Task 4.1 [5]


Review the Use Case Diagram from Lab 2 with the instructor and re-iterate the design.
Lab Task 4.2 [5]
Draw the improved Use case diagram in Visual Paradigm.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy