Graph visualization of existing .NET code [closed]

2019-04-13 04:08发布

问题:

I've seen that VS 2010 Ultimate can generate model graph from existing code. But VS 2010 Ultimate version costs 11K US$, way too much for my budget. Is there any good alternative to do graph visualization of .NET code?

回答1:

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. Read more about this feature in this article Exploring Existing Code Architecture in Visual Studio. Any kind of graph is supported including:

  • Dependency Graph
  • Call Graph
  • Class Inheritance Graph
  • Coupling Graph
  • Path Graph
  • All Paths Graph
  • Cycle Graph
  • Large Graph visualized with Dependency Structure Matrix

Here are screenshots for illustration:



回答2:

How about the graph add-in for .Net Reflector?



回答3:

Reflector has addins which can already show something like this: http://reflectoraddins.codeplex.com/.

And I believe NDepend also has a dependency graph: http://www.ndepend.com/Screenshots.aspx.