Graph visualization of existing .NET code [closed]

喜你入骨 提交于 2019-12-06 11:38:04

问题


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.



来源:https://stackoverflow.com/questions/3594807/graph-visualization-of-existing-net-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!