| | Product Information Help and How-to Training Templates Support and Feedback Technical Resources Additional Resources | Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.
Create a UML use case diagram
Show me an example
- On the File menu, point to New, point to Software, and then click UML Model Diagram.
- In the tree view (tree view: Displayed in a window in the UML Navigator, a hierarchy in which each UML element or view (diagram) is represented by an icon. The UML template automatically creates a tree view of your model.), right-click the package or subsystem in which you want to include a use case diagram (use case diagram: A diagram that shows the external actors who will interact with your system and how they will use it. The diagram consists of a system boundary, actors, use cases, and use case relationships (communicates, uses, and extends).), then point to New, and then click Use Case Diagram.
A blank page appears, and the UML Use Case stencil becomes the top-most stencil. The workspace displays 'Use Case' as a watermark. An icon representing the diagram is added to the tree view.
Note If the tree view is not visible, on the UML menu, point to View, and then click Model Explorer.
- Drag the System Boundary shape onto the drawing page.
Work with System Boundary shapes
Indicate a system boundary in a use case diagram
- Drag Use Case shapes from the Use Case stencil and place them inside the system boundary, and then drag Actor shapes to the outside of the system boundary.
Work with Use Case shapes
Work with Actor shapes
- Use Communicates shapes to indicate relationships between use cases and actors.
Work with Communicates shapes
Indicate a relationship between an actor and a use case
- In a use case diagram (use case diagram: A diagram that shows the external actors who will interact with your system and how they will use it. The diagram consists of a system boundary, actors, use cases, and use case relationships (communicates, uses, and extends).), drag a Communicates shape onto the drawing page.
- Glue one endpoint
of the Communicates shape to a connection point
on an Actor shape. Glue the other endpoint to a connection point on a Use Case shape. - If you want to add an arrow to indicate the flow of information, do the following:
- Double-click the Communicates shape, then, under Association, click the end you want to edit, and then click Properties.
- In the Association End category, check IsNavigable, click OK, then click OK again.
- Right-click the Communicates shape and click Shape Display Options. Under End options, select End navigability, and then click OK.
- Use Uses and Extends shapes to indicate the relationships between use cases.
Indicate a uses relationship between two use cases
Indicate an extends relationship between two use cases
- Double-click any shape (except the System Boundary shape) to open its UML Properties dialog box where you can add a name, attributes, operations, and other property values.
- Save the diagram.
|