Professional Documents
Culture Documents
Visio 2007 Tutorial1
Visio 2007 Tutorial1
Overview
The tutorial demonstrates how to use Visio 2007 to create UML diagrams. We will focus on five most widely used UML diagrams which will always be needed in order to model a business process, a system, and a software.
Use Case Diagram Activity Diagram Sequence Diagram Class Diagram State Machine (statechart) Diagram
Start Visio
Double on the Visio icon on the desktop, or Go to Start->Programs->Microsoft Office->Visio
1 2
2 3
UML Template
Drawing Toolbar
Page Setup
The initial worksheet appears in the portrait orientation, it would be more effective to use the sheet in landscape orientation Select the Page Setup option from the File drop-down menu Click the Landscape option Page Setup also allows you to change the size, margin, scale, etc.
Save Drawing
Go to File->Save As from the menu From Save As dialog, identify a folder and enter a file name for the new drawing Visio use vsd as the extension for all the drawing file
4
1 3
2 5
Use Case
Click Use Case on the toolbar and drag the Use Case shape to the diagram To resize the Use Case on the diagram, select the Use Case and drag the Green square on the Use Case to resize it
Actor
Click Actor on the toolbar and drag it to the diagram Open the actor Properties and rename it as User Click Communication on the toolbar and drag it to the diagram Connect the association between the actor and Use Case
Activity Diagram
Insert a new page by clicking Insert->New Page on the menu Name the page as Washing Dish Activity Diagram Click UML Activity on the Shape panel
Dishwasher Structure
Use the toolbar to add classes on the diagram Use Composition to show relationship between Dishwasher and its components
Sequence Diagram
Add a New Page Click UML Sequence on the toolbar Create Object LifeLines for the Dishwater and its components Use Message to show the communication between the components