Working with Class Diagrams (Class Designer)
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
Class diagrams help you understand the class structure of projects others have written (or that you wrote a long time ago). You can use them to customize, share and present project information with others.
The first step in presenting project information is to create a class diagram that displays what you want to show. For more information, see Viewing Types and Relationships (Class Designer). You can create multiple class diagrams for a project that can be used to display a distinct view of the project, a chosen subset of the project's types, or a chosen subset of the members of types.
In addition to defining what each class diagram shows, you can also change the way that information is presented; for more information, see How to: Customize Class Diagrams (Class Designer).
After you have fine-tuned one or more class diagrams, you can copy them into Microsoft Office documents and print them, or export them as image files. For more information, see How to: Copy Class Diagram Elements to a Microsoft Office Document (Class Designer), How to: Print Class Diagrams (Class Designer) and How to: Export Class Diagrams As Images (Class Designer).
Class Designer does not track the location of your source files, so changing your project structure or moving source files in the project can cause Class Designer to lose track of the type, especially the source type of a typedef, base classes, or association types. You might get an error, like Class Designer is unable to display this type. If you do, drag the modified or relocated source code to the class diagram again to redisplay it.
Describes how to add class diagrams to projects.
Provides information about how to customize class diagrams.
Explains how to copy from a class diagram into an Office document.
Describes how to export class diagrams as images.
Explains how to print class diagrams.
Describes how to add comments to a class diagram.
Describes how to remove shapes from class diagrams.