Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft Office Visio® 2010 Training

Similar presentations


Presentation on theme: "Microsoft Office Visio® 2010 Training"— Presentation transcript:

1 Microsoft Office Visio® 2010 Training

2 What is Visio? Microsoft Office Visio 2010 is a business and technical drawing and diagramming program that anyone can use to communicate concepts, procedures, product information, specifications and more. It is designed to help people convey information visually. Visio 2010 provides ready-to-use templates that have stencils and readymade shapes to help convey a concept. The various templates available include: Business, Engineering, Flowcharts, General, Maps and Floor Plans, Network, Schedule, and Software and Database related templates.

3 Open Visio 2010

4 Loadin Visio Stencil

5 Overview: What’s special about Visio shapes?
Shapes are the meat of any Visio diagram. You can use shapes to represent objects, actions, and ideas, and you can arrange and connect shapes to show visual relationships. When shapes don’t look or behave the way you want, your diagram suffers. So mastering shapes basics is key. This course introduces the important concepts behind shapes and then shows you how to get shapes and put them on a page. Examples of diagram types include flowcharts, org charts, road maps, project calendars, and office layouts.

6 Two types of shapes When you work with Visio shapes, you can resize, rotate, format, and move them. But how the shape behaves when you do those things depends on the type of shape. There are two types of shapes in Visio: one-dimensional shapes (1-D shapes) and two-dimensional shapes (2-D shapes). Each type of shape behaves a certain way. When you know what type of shape you’re dealing with, you’ll be able to work with it successfully.

7 1-D shapes A 1-D shape is a shape that, when selected, has a beginning point and an ending point . 1-D shapes typically look like lines. How do 1-D shapes behave when you work with them? If you move the beginning point or ending point, only one dimension changes: the length. But the most powerful feature of 1-D shapes is their ability to connect two other shapes. The picture shows some examples of 1-D shapes. An example of connecting two other shapes: In a business process diagram, you might connect two departments with a line or an arrow.

8 2-D shapes 2-D shapes are typically used to represent something, either a general concept such as a step in a flowchart or a specific object such as a factory or a piece of equipment. Like the laptop and the block shown here, some 2-D shapes are drawn to look three-dimensional. Even so, Visio considers these shapes to be 2-D shapes. You know that because of the eight selection handles. 8

9 Template Categories in Visio
Category Purpose Business To show business processes using brainstorming diagrams, data flow, effect diagrams, etc. Engineering To create basic electrical diagrams, assembly drawings, circuits and logic diagrams Flowchart To create basic flowchart, work flow diagrams etc General To create basic diagrams, flowcharts, and block diagrams. Maps and floor plan To create 2D maps, home plans, etc. Network To create network designs, web site maps, etc.. Schedule To track project details with calendars, Gantt Charts, etc.. Software and Database To create database model diagrams, UML model diagrams, etc..

10 Terms To Know: Shape: is an object that may be placed on the drawing page. Stencil: is a logical grouping of shapes that are typically used together to make a Visio drawing. Master Shape: is the shape that resides on a stencil. It cannot be changed, although a copy of it can be saved to a custom stencil and subsequently altered.

11 Visio Stencil Stencil is the shape library that we can use in diagrams and drawings Stencil files end with .vss

12 You must remember this Shapes window. This window contains stencils.
Stencils. Stencils aren’t shapes. That’s important. Stencils contain shapes. Shapes. Shapes, in Visio, are everything. But shapes aren’t stencils. Stencils contain shapes.

13 Get shapes with templates
One way to get shapes is to choose a template, which is one of the drawing options you see when you start Visio. When you choose a template, the stencils and shapes for that template will appear in the Shapes window, ready to work with. The advantage of using a template is that it provides many related shapes organized for a specific purpose.

14 Creating a Diagram: The first step to creating a diagram or chart in Visio is choosing from the selected templates available. For example: choose Basic Flowchart and click Create.

15 When you select the template the description will be displayed above the name of the template.
The drawing page will display and you may start adding shapes.

16 To Connect Shapes with Connectors
On the toolbar, click the connector tool Click the lower blue connection point on the terminator, A red box appears around the connection point to show that t is “glued” to it. Drag the line to the topmost connection point on the Process box to create the connector. Next up: 2-D shapes. Or Go to the Design Section and from there choose the connectors

17 Weak Entities Draw a larger Box and remove text/label from it
Draw a smaller Box, remove text from it, and move it on top of the larger Box Select both, right click to select menu “Group -> Group” Smaller Box Large Box

18 Example A Department contains several buildings. Each contain offices; each has an office number. Suppose that an office number value may be given to offices in distinct building. 18

19 19

20 Attribute Entity: Object in the real world that we can distinguish from other objects. Example: me, the teacher’s table in a certain room. Attribute: An entity is described using a set of attributes. For example the entity “students” is described by its name, studentId, Major, DOB (date of birth).

21 MultiValued Attribute
A Multivalued attribute is defined as an entity class, a ”collection of entities”. In other words, a multivalued attribute is also an entity that describes certain aspects of other entities. For example, most companies only need to know a single name for each of its customers. However, a mortgage company may require a potential customer to provide all aliases in a mortgage application. So the customer name may be single-valued or multivalued. How to represent a multivalued attribute: Draw a larger Circle and remove text/label from it Draw a smaller Circle, remove text from it, and move it on top of the larger Circle. Select both, right click to select menu “Shape -> Group”

22 1-Large Circle 2-Smaller Circle 3-Group/Combine

23 Key Attribute How to draw a Key Attribute:
The primary key of a relational table uniquely identifies each record in the table. It can either be a normal attribute that is guaranteed to be unique (such as Social Security Number in a table with no more than one record per person) or it can be generated by the DBMS. How to draw a Key Attribute: Draw an attribute using the Circle shape and label it. Select the shape and click the Underline toolbar icon (or simply press Ctrl + U). Or, you can draw a circle and a straight (horizontal) line and group them.

24 Composite Attribute Composite attributes can be divided into smaller subparts. These subparts represent basic attributes with independent meanings of their own. For example, take Name attributes. We can divide it into sub-parts like First_name and Last_name. 24

25 Derived Attribute Derived attributes are usually created by a formula or by a summary operation on other attributes. Take the example of age. Age of a person can be can be calculated from person’s date of birth and present date. Difference between the two gives the value of age. In this case, age is the derived attribute. The attribute from which another attribute value is derived is called stored attribute. In the above example, date of birth is the stored attribute. Take another example, if we have to calculate the interest on some principal amount for a given time, and for a particular rate of interest, we can simply use the interest formula 25

26 Derived Attribute How to represent a Derived Attribute:
Right Click on the line Select Line -> More arrows Then Select the Dash Type 26

27 Example on Different Types of Attributes
Key Attribute: StudentId Multivalued Attribute: LabAssistant Composite Attribute: Name, class 27

28 Relationship Relationships illustrate how two entities share information in the database structure. A relationship is represented by a diamond: 28

29 Identifying Relationship
An 'identifying' relationship is: A foreign key relationship in which the whole primary key of the parent table is entirely contained in the primary key of the child table. How to Represent an Identifying Relationship: 29

30 Recursive Relationships
Relationship that involves entities in the same entity set. Example: an employee reports to another employee; the Reports-To relationship is recursive 30

31 Cardinality Ratio A 1:1 or one-to-one relationship from entity type S to entity type T is one in which an entity from S is related to at most one entity from T and vice versa. An N:1 or many-to-one relationship from entity type S to entity type T is one in which an entity from T can be related to two or more entities from S. A M:N or many-to-many relationship many occurrences of one entity are associated with many of the other. For example, if each team can have at most one student leader and a student can be a leader of at most one team, we have a 1:1 or one-to-one relationship. This picture illustrate which type of line is supposed to be used to represent a 1:1 relation. 31

32 To add the cardinality, double-click on the connecter and the text box will appear in which you will provide the cardinality. The same thing is done for 1:N and N:1 relations but with a different kind of connector. 32

33 Full Example A chain of pharmacies ask you to design its DB representing the information: Patients are identified by SSN, names, address, and ages. Doctors are identified by SSN, and for each doctor, name of specialty and years of experience. Each pharmaceutical company is identified by it name and has a phone number. For each drug, the trade name and formula. Each drug is sold by a given pharmaceutical company and the trade mark name identifies a drug uniquely. Each pharmacy has name, address and phone number. Every patient has a primary physician. Every doctor has at least 1 patient. Each pharmacy sells many drugs and has a price for each. A drug could be sold at several pharmacies and the price could vary. 33

34 Doctors prescribe drugs for patients
Doctors prescribe drugs for patients. A doctor could prescribe one or more drugs for several patients and the patient could obtain prescriptions from several doctors. Each prescription has a date and a quantity. Pharmaceutical companies have long term contracts with pharmacies. A pharmaceutical company can contract with several pharmaceutical companies. For each contract, you have to store start date and end date and the text of the contract. Pharmacies appoint a supervisor for each contract. There must always be a supervisor for each contract. 34

35 35

36 36


Download ppt "Microsoft Office Visio® 2010 Training"

Similar presentations


Ads by Google