Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vsix-QuickClassMap

Visualize C# class and interface relationships in an interactive DGML diagram. Generate maps from a project, folder, or file, and explore related types upward or downward to understand unfamiliar code faster, assess code quality, and make better design decisions.

Screenshot

Requirements

  • Visual Studio 2022 or 2026
  • The DGML editor component (Visual Studio Installer → Individual components → Code tools → DGML editor)
dgml

Installation

Download and install the Quick Class Map extension.

How to Use

Generate Class Map

In Solution Explorer, select one or more files or folders, or a single project. Open the context menu and select Generate Class Map. The extension generates a DGML diagram showing relationships between classes in the selected items.

Limitation: The analysis is currently limited to one project at a time.

Walk Up and Walk Down

  • Walk Down Class Map follows relationships to discover the dependencies of the selected classes.
  • Walk Up Class Map follows relationships in reverse to discover classes that depend on the selected classes.

In Solution Explorer, select one or more files or folders, or a single project. Open the context menu, choose the desired command, and select a traversal depth. Available depths are 1, 2, 3, 5, or 8 levels.

To limit map growth, the extension stops following Uses relationships after the first collaborator level.

Relationship Types

The extension uses heuristics to identify five relationship types:

  • Inheritance
  • Implementation
  • Composition
  • Aggregation
  • Uses

Limitation: To balance speed and accuracy, Composition and Aggregation relationships may not be detected reliably and may instead be reported as Uses.