Create a UML static structure diagram

Support for Office 2010 ended on October 13, 2020

Upgrade to Microsoft 365 to work anywhere from any device and continue to receive support.

Upgrade now

Use a static structure diagram to show a static view of a system's classes, their attributes and methods, and the relationships among objects. It gives an overview of an application.

Class static structure diagram defining the types of software objects in a system and their properties

Callout 1 To add attributes, operations, and other properties to class shapes, double-click a shape to open the UML Class Properties dialog box.

Callout 2 Double-click an association to add adornments, such as multiplicity and navigability.

Callout 3 In addition to the name and type shown here, attributes can also include visibility, an initial value, and specify whether the scope is class or instance.

Callout 4 Define the parameters of an operation fully in a diagram when you want to communicate detailed programming specifications.

Important: The UML static structure diagram is not available in Visio 2013 and newer versions. For information, see UML diagrams in Visio.

Start a static structure diagram

  1. Select File > New.

  2. Under Template Categories, click Software and Database, and then click UML Model Diagram.

  3. In the tree view, right-click the package in which you want to include the static structure diagram, point to New, and click Static Structure Diagram.

    A blank page appears, and the UML Static Structure stencil becomes the top-most stencil. The workspace displays 'Static Structure' as a watermark. An icon representing the diagram is added to the tree view.

    Note: If the tree view isn't visible, point to View on the UML menu, and then click Model Explorer.

  4. Drag class or object shapes onto the drawing page to represent the classes or objects you want to include in your class static structure diagram or conceptual model.

    Work with classes and objects in UML static structure diagrams

  5. Double-click each shape to open its UML Properties dialog box, where you can add attributes, operations, and other properties.

  6. Right-click each class or object shape, and then click Shape Display Options to select which properties to display on the shape and which compartments of the shape to suppress (such as attributes, operations, and template parameters).

  7. Indicate relationships between the classes and objects using Association, Link, Dependency, Generalization, or Composition shapes.

    Work with associations in UML static structure diagrams

    Work with dependencies in UML static structure diagrams

    Work with generalizations in UML static structure diagrams

    Work with links in UML static structure diagrams

  8. Double-click each relationship shape (Association, Link, Dependency, Generalization, or Composition) to open its UML Properties dialog box, where you can add association end adornments and other properties.

Create a realizes relationship between two elements in a UML static structure diagram

  1. In a static structure diagram, right-click any class shape (Class, Parameterized Class, Utility or MetaClass), click Shape Display Options, and then, under General Options, select Realization Link.

  2. Glue the control handle Control handle image - yellow diamond for the realization link on a class shape to a connection point Connection point image - blue X on the interface, class, or other element.

Need more help?

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.