可编辑的程序集依赖关系图生成
有谁知道有一个工具或任何解决方案(最好是免费的)来自动生成可编辑的程序集依赖关系图(例如 Visio 图)?
我在网上找到了类似的线程,但推荐的几个工具(.Net Reflector Graph 插件、Dependency Visualizer、GraphViz 等)仅生成图像文件(PNG、JPG、SVG 等)。
我需要进行逆向工程的解决方案由超过 75 个项目组成,其中包含数百个 dll。甚至子系统图也是难以理解的,所以我们想要调整/编辑它们,找到常见的重复,将它们隔离成单独的图,等等。我们需要一些东西可以为我们完成大量无脑部分,但允许我们接管那里。
顺便说一句,我确实找到了生成相应矩阵表示的工具,这很棒,但我们仍然需要对图的深度有更直接的了解。
提前致谢。
泰国人
Does anyone know of a tool, or any solution (preferably free), to automatically generate editable assembly dependency graphs (such as Visio diagrams)?
I have found similar threads online, but the several tools recommended (.Net Reflector Graph add-in, Dependency Visualizer, GraphViz, etc) generate only image files (PNG, JPG, SVG, etc).
The solution I need to reverse engineer is composed of over 75 projects, with hundreds of dlls. Even sub-system graphs are unintelligible, so we want to tweak / edit them, find common recurrences to isolate them into separate graphs, etc. We need something that can do the bulk brainless part for us, but that allows us to take over from there.
Btw, I did find tools to generate the respective matrix representation, which is great, but we still need to have a more straight-forward view of the depths of the graphs.
Thanks in advance.
Thais
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
依赖分析器工具对我来说很有用。它也适用于 .Net 程序集。
Dependency Analyser tool was useful in my case. It is working also for .Net assemblies.
NDepend 附带一个交互式和可编辑的依赖图与依赖矩阵相结合。默认情况下,您将获得 .NET 程序集的依赖关系图,并且它不限于仅一个 VS 解决方案的程序集。 NDepend 集成在 VS 2010、2008 和 2005 中,它可以在代码上显示任何类型的图,包括:
等...
请参阅从此博客文章中提取的屏幕截图:交互式代码依赖关系图
图版:
替代文本 http: //codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/patricksmacchia.Graph/InternalDependencyGraphSmall2.jpg
替代文本 http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components .WeblogFiles/patricksmacchia.Graph/CycleGraphSmall2.jpg
替代文本 http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/patricksmacchia.CQLExport/Graph1.jpg
NDepend comes with an interactive and editable dependency graph coupled with a dependency matrix. By default you'll get a dependency graph of .NET assemblies and it is not restricted to assemblies of only one VS solution. NDepend is integrated in VS 2010, 2008 and 2005 and it can shows any kind of graph on your code including:
etc...
See screenshoots extracted from this blog post: Interactive Code Dependencies Graph
Graph edition:
alt text http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/patricksmacchia.Graph/InternalDependenciesGraphSmall2.jpg
alt text http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/patricksmacchia.Graph/CycleGraphSmall2.jpg
alt text http://codebetter.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/patricksmacchia.CQLExport/Graph1.jpg