Does anyone know of a c# tool to visua开发者_如何学JAVAlize interconnected nodes (e.g. the call hierarchy in a class)? The sort of visualization I'm looking for is like that of the ANTS Memory Profiler when it's showing memory links if anyone is familiar with that tool?
Take a look at NDepend (http://www.ndepend.com/). In addition to computing various metrics for a code base, it can also visualize dependencies. A trial edition is available.
Here is a screenshot (on http://www.ndepend.com/Features.aspx#DependenciesView) that may be what you're looking for: http://www.ndepend.com/Res/DiagramBoxAndArrowGraphBig.jpg
To complete Matthew's answer on NDepend, have a look at these 2 articles concerning NDepend dependency graph and NDepend dependency matrix. Graph and Matrix work hands in hands.
- Dependency Graph : Graph is more intuitive but hard to understand when there are more than 30 nodes.
- Dependency Matrix : Matrix is less intuitive than Graph, but it scales, meaning, it can still be useful even with hundreds of nodes shown.
Here are 2 screenshots:
The tool that I've found is Graph# found at http://graphsharp.codeplex.com/. It seems to work brilliantly for plotting the kind of nodal interdependencies I'm after.
Apologies to those who I mislead with the ANTS reference. If it's any consolation, NDepend looks a seriously interesting tool.
精彩评论