Extend dependency diagrams

You can write code to create and update dependency diagrams, and to validate the structure of your program code against dependency diagrams in Visual Studio. You can add commands that appear in the shortcut (context) menu of the diagrams, customize drag-and-drop gestures, and access the layer model from text templates. You can package these extensions into a Visual Studio Integration Extension (VSIX) and distribute them to other Visual Studio users.

For more information about dependency diagrams, see:

Requirements

You must have the following installed on the computer where you want to develop your layer extensions:

In this release of Visual Studio, the Text Template Transformation SDK and the Visual Studio Modeling SDK are installed automatically when you install specific features of Visual Studio. For more details, see this blog post.

You must have a suitable version of Visual Studio installed on the computer where you want to run your layer extensions. For more information, see Deploy a layer model extension.

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

In This Section

Add commands and gestures to dependency diagrams

Add custom architecture validation to dependency diagrams

Add custom properties to dependency diagrams

Navigate and update layer models in program code

Deploy a layer model extension

Troubleshoot extensions for dependency diagrams

See Also

Define and install a modeling extension
Dependency Diagrams: Reference
Dependency Diagrams: Guidelines
Create dependency diagrams from your code
Validate code with dependency diagrams