Any tool for generating a graph of dependencies of dependencies on a solution

Do you have a solution, is there any tool for creating a map of classes and their relationships?

+7
source share
3 answers

If you are using Visual Studio 2010, you can create a dependency graph .

From the menu, select "

Architecture> Create Dependecy Graphics> By Class

Here is an example of what it shows (in a very small project):

Dependecy graph

And you can even see the dependencies between the two classes. Take a look at the following image:

Calls

If you expand the Logger class and click on Scraper , you will see which methods are called (in Logger ) on Scraper .

At this moment, I have no example of inheritance, but you can always create a project and test it yourself.

+9
source

The VS2010 dependency graph feature is pretty cool, but it requires the VS2010 Ultimate. If you don't have one, I can highly recommend NDepend .

This will give you dependency graphs and much, much more. There is even an open / academic license available (with some exceptions).

+7
source

If you are using Visual Studio, open Solution Explorer. There you will find an icon titled Show Cool Chart. Click here. This will generate a list of classes, but not their relationship. You must click on your project to view the icon. I have added a screenshot. Look at the circles: enter image description here

+1
source

All Articles