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.