Read models and diagrams in other Visual Studio editions


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.

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.

System_CAPS_ICON_note.jpg 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.

    System_CAPS_ICON_note.jpg 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)

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.

Layer Diagrams: ReferenceA 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: ReferenceAn activity diagram shows a flow of work, either in a business process or in software.
UML Class Diagrams: ReferenceA 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: ReferenceA component diagram shows separable parts in a software design, and their interfaces.
UML Sequence Diagrams: ReferenceA sequence diagram shows interactions between elements in a software design.
UML Use Case Diagrams: ReferenceA use case diagram shows the users of a system and the activities that they can perform to achieve specific goals.

Create models for your app