This Visual Studio extension shows relationships between classes in your C# project, as well as in individual folders or files. It also supports the selection of multiple folders or files.
Currently, the output is a DGML diagram.
- Visual Studio 2022, 2026
- DGML component installed (Visual Studio Installer → Individual components → Code tools → DGML editor)
The extension uses heuristics to distinguish between five types of relationships:
- Inheritance
- Implementation
- Composition
- Aggregation
- Uses
