Share via


Read models and diagrams in other Visual Studio editions

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

When you open a model in a version of Visual Studio that does not support model creation, the model opens in read-only mode. In this mode, you can change the layout of the diagrams, but you cannot change the model.

To see which versions of Visual Studio support model creation, see Version support for architecture and modeling tools.

Obtaining Access to a Model and Diagrams

To read a UML diagram or a layer diagram, you must first use Visual Studio to open the modeling project, and then open the diagram within it.

For this reason, if you want to read a UML diagram or layer diagram, you must also have access to the modeling project in which it was created. You can do this either by accessing the project from Team Foundation version control, or by obtaining a copy of the project files.

Note

This does not apply to code maps and .NET class diagrams generated from code. Those diagrams can be viewed independently of a modeling project.

To read a UML diagram or a layer diagram, the minimum set of files that you need is as follows:

  • The two diagram files for the diagram that you want to read, for example, MyDiagram.classdiagram and MyDiagram.classdiagram.layout.

    Note

    For Layer diagrams, you should also have the file that is named MyDiagram.layerdiagram.suppressions.

  • The modeling project file (MyModel.modelproj)

  • The root model file (ModelDefinition\MyModel.uml)

  • The package files for any package referenced in the diagram (ModelDefinition\MyPackage.uml)

Changes that you can Make in Read-Only Mode

If you open a model and its diagrams in a version of Visual Studio that does not support model creation, you cannot change the model. That is, you cannot change the elements and relationships that are displayed on the diagrams or in the model explorer. However, you can make some changes to the layout of the diagrams:

  • Rearrange the shapes and connectors on the diagram.

  • Expand and collapse shapes.

    You can save these changes. If you want to make your changes visible to other users, you must at least send the updated .layout files.

Related Topics

Title Description
Layer Diagrams: Reference A layer diagram shows the structure of an existing or proposed architecture. When code is written, it can be automatically validated against a layer diagram.
UML Activity Diagrams: Reference An activity diagram shows a flow of work, either in a business process or in software.
UML Class Diagrams: Reference A class diagram shows types and relationships used in many contexts such as code, database schemas, communications protocols, or the glossary of terms used to describe a business domain.
UML Component Diagrams: Reference A component diagram shows separable parts in a software design, and their interfaces.
UML Sequence Diagrams: Reference A sequence diagram shows interactions between elements in a software design.
UML Use Case Diagrams: Reference A use case diagram shows the users of a system and the activities that they can perform to achieve specific goals.

See Also

Create models for your app