Copyright: (C) Copyright 1996-1997 Visio Corporation
Citation: (C) Copyright 1996-1997 Visio Corporation


Fusion Template

  In this topic

The Fusion Template includes shapes for all the icons and symbols used in the Booch, Rumbaugh, and Jacobson notations for creating class, use case, message trace, object message, state, module, and platform diagrams. It also includes a variety of connector shapes you can use to connect class, class category, object, subsystem, and other shapes.

For information about how a shape behaves, right-click the shape, then choose Shape Help.

For information about the Fusion method, see Object-Oriented Development: The Fusion Method, by D. Coleman, P. Arnold, S. Bodoff, C. Dollin, H. Gilchrist, F. Hayes, and P. Jeremaes (Englewood Cliffs, NJ: Prentice Hall, 1994).

Adding names, attributes, and operations to classes, objects, associations, and states

Object models, state diagrams, and other fusion drawings use Visio shapes (such as the Class With Data Attributes, Class With Operational Attributes, Ternary Association, and Object Instance shapes on the Rumbaugh stencil) to represent classes, objects, associations, and states.

To name the class represented by a Rumbaugh Class With Data Attributes or Class With Operational Attributes shape:

•	Select the shape, then type the name.

To add attributes or operations to a Class With Attributes shape:

•	Choose the text tool before you select the shape. Click the Attribute or Operation section of the shape, place the cursor where you want to add text, then type.

To name and add attributes to an Object Instance or Ternary Association shape:

•	Double-click the shape to select all the text. With the cursor, highlight the text you want to replace, then type.

To place and relate objects in an object modeler analysis diagram:

1.	Drop an Object Type shape from the Jacobson stencil on the drawing page.

Visio prompts you to choose the type of object you want.

2.	Drag the control handle in the center of the object to create an arrow that indicates a relationship.

You can reposition the arrow at any time by dragging the control handle on its point.

Tip: To indicate a two-way communication relationship between objects, leave the control handle in the center of the object. Drag a Relationship shape on the page. When Visio prompts you to choose a relationship type, choose Communication, then click OK. Position the arrow between the object shapes.

Indicate relationships by connecting shapes

To indicate relationships between Class, Ternary Association, and other shapes in an object model, connect the shapes using connectors. Connectors include the Cardinality Constraints, Total Marker, and Data Flow shapes and all the shapes on the Connectors stencil.

You can use some connectors to represent more than one type of relationship by changing their line ends or appearance.

To indicate a relationship between two shapes on a drawing page:

1.	Drag a connector endpoint onto a connection point ( [image]) on one of the shapes.

The endpoint turns red, indicating that the connector is glued to the shape.

2.	Drag the other connector endpoint onto a connection point on the second shape.

The endpoint turns red, indicating that the connector is glued to the shape. You can move the glued shapes without breaking the connection.

Note: Connectors, such as the Data Decomposition and Data Composition shapes, have control handles rather than endpoints on some of their ends. These handles glue to connection points the same way endpoints do.

To establish a cardinality constraint between two shapes:

1.	Drop a Cardinality Constraints shape on the page.

Visio prompts you for the type of cardinality you want the connector to represent.

2.	Choose the cardinality you want, then click OK.

3.	Connect the endpoints to connection points on the shapes between which you want to establish a cardinality relationship.

Tip: To change the cardinality of a Cardinality Constraint shape on the drawing page, right-click the shape, then choose Set Cardinality.

See also:

About creating and revising connected drawings

To change the type of relationship a connector represents:

•	Right-click a connector, then choose Set Line Ends. The Line dialog box opens where you can set the line ends or formatting you want. (Not all connectors have the Set Line Ends option on the right-click menu.)

Creating a schema for a system operation

To develop the schema for an operation model, use the Operation Model shape on the Rumbaugh stencil. When you drop the shape on the page, Visio prompts you for structured text related to each aspect of the operation. To change the text of an Operation Model shape on the page, right-click the shape, then choose Set Operations.

Fusion diagrams and layers

A layer is a named category of shapes. When shapes are assigned to separate layers, you can treat the shapes separately. For example, you can hide or lock all layers except the one you want to work on, or you can print shapes based on their layer assignments. You can also generate numeric or inventory reports for shapes on particular layers.

For example, in an object model, you can place the class shapes on one layer and the relationship type shapes on another layer, then lock the class layer to avoid inadvertently altering it while editing the relationships.

See also:

About layers

Adding properties to Fusion notation shapes

You can associate data with shapes by giving the shapes custom-property fields-fields in which you can store information. For example, you can give each class shape in your diagram a textual description by adding a Description custom-property field to the Class master. You can then associate a specific description with each instance of that master by right-clicking the shape on the page.

To add custom-property fields to shapes, run the Custom Properties Editor. To enter data into existing custom-property fields, right-click a shape, then choose Properties.

To run the Custom Properties Editor:

•	Choose Tools > Macro > Custom Properties Editor.

See also:

Adding, editing, and deleting custom-property fields

Generating reports from properties

If you've entered data for the properties associated with your shapes, you can run the Property Reporting Wizard to generate inventory or numerical reports based on the data. For example, you could create a report that includes the descriptions for each class shape in an object model.

To run the Property Reporting Wizard:

•	Choose Tools > Property Report.

See also:

Creating reports from custom data

Linking Fusion method notation shapes to other drawing pages, other files, or World Wide Web locations

You can add navigational links to any shape in your diagram, so that users of the diagram can right-click the shape to jump to separate drawing pages, separate files, or documents on an intranet or the Web. For example, you can link a design object in an object interaction graph to the visiblity graph for that object.

To add links to shapes:

•	Choose Insert > Hyperlink.

See also:

About using hyperlinks

Placing Visio drawings on the World Wide Web

You can easily convert a Visio drawing to a format Web browsers can read. Then you can distribute the drawing on an intranet or the Web.

See also:

Exporting shapes and drawings in .jpg or .gif format

Saving drawings as HTML pages


Adding names, attributes, and operations to classes, objects, associations, and states

Indicate relationships by connecting shapes

Creating a schema for a system operation

Fusion diagrams and layers

Adding properties to Fusion and UML notation shapes

Generating reports from properties

Linking Fusion method notation shapes to other drawing pages, other files, or World Wide Web locations

Placing Visio drawings on the World Wide Web