views:

15

answers:

1

VS2010 has got an option in the Architecture menu called "Create dependency graph".

It works great except it seems to be all or nothing - all solution items end up in that graph and its very slow for our large solution.

I want to create a dependency graph by class, whose root is only a single class that I specify.

Is it possible to create a query (DGQL) in the architecture explorer that emulates the "Create dependency graph" but where I can specify the root class?

A: 

Maybe you can use the flexibility of the tool NDepend to generate the exact graph you need. NDepend comes with a dependency graph coupled with a dependency matrix. You can try NDepend straight on your code thanks to a Free Trial Edition. See screenshoots extracted from this blog post: Interactive Code Dependencies Graph

alt text

alt text

alt text

alt text

Patrick Smacchia - NDepend dev