可编辑的程序集依赖关系图生成

发布于 2024-09-08 23:35:14 字数 385 浏览 3 评论 0原文

有谁知道有一个工具或任何解决方案(最好是免费的)来自动生成可编辑的程序集依赖关系图(例如 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

情定在深秋 2024-09-15 23:35:14

依赖分析器工具对我来说很有用。它也适用于 .Net 程序集。

Dependency Analyser tool was useful in my case. It is working also for .Net assemblies.

乞讨 2024-09-15 23:35:14

NDepend 附带一个交互式和可编辑的依赖图与依赖矩阵相结合。默认情况下,您将获得 .NET 程序集的依赖关系图,并且它不限于仅一个 VS 解决方案的程序集。 NDepend 集成在 VS 2010、2008 和 2005 中,它可以在代码上显示任何类型的图,包括:

  • 之间的依赖关系
  • 程序集方法调用图
  • 、 VS 项目内命名空间的依赖关系、
  • 命名空间内类型的依赖关系、
  • 类继承图、
  • 图表示 2 个组件之间的类耦合

等...

请参阅从此博客文章中提取的屏幕截图:交互式代码依赖关系图

图版:
替代文本

替代文本

替代文本 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:

  • dependencies between assemblies
  • method calling graph,
  • dependencies of namespaces inside a VS project,
  • dependencies of types inside a namespace,
  • classes inheritance graph,
  • graph representing classes coupling between 2 components

etc...

See screenshoots extracted from this blog post: Interactive Code Dependencies Graph

Graph edition:
alt text

alt text

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文