为 Delphi 生成单元依赖关系的工具
是否有任何工具可以在考虑条件编译指令的情况下为 Delphi 单元生成依赖关系图。我想强调的是,这应该是单元依赖关系图,而不是类依赖关系。另外,如果能够在生成的图表中重新排列和隐藏某些部分,那就太好了。
我已经尝试理解,但它似乎没有达到我想要的效果。
Are there any tools that can generate dependency diagrams for Delphi units taking into account conditional compilation directives. I'd like to emphasize that this should be unit dependency diagram, not class dependency. Also it would be nice to have the ability to rearrange and hide some parts in the generated diagram.
I've tried Understand and it doesn't seem to do what I want.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
我个人使用 免费项目依赖项 “http://www.gexperts.org”rel="noreferrer">GExperts。
它不显示图表,而是显示树视图。这符合我的需求,YMMV。
I personally use the free Project Dependencies from GExperts.
It does not display a diagram, but as a tree view. That suits my needs, YMMV.
也许 ICARUS 会有所帮助。
Perhaps ICARUS is helpful.
请参阅此相关问题,其中讨论了 Peganza。
显示单元的工具Delphi 2010 或 Delphi 7 程序的依赖项
See this related question, where Peganza was discussed.
Tool that shows unit dependencies for Delphi 2010 or Delphi 7 program
您还可以使用 https://github.com/norgepaul/DUDS 中的 Delphi Unit Dependency Scanner 和以 Gephi 或 yEd 格式导出树。
然后,您可以使用 https://gephi.org 中的开源工具构建图表、分析图表并执行许多其他操作/ 或免费 https://www.yworks.com/products/yed 。
You can also use the Delphi Unit Dependency Scanner from https://github.com/norgepaul/DUDS and export the tree in Gephi or yEd format.
Then you can build the graph, analyze and do many other actions with the graph using the open source tool from https://gephi.org/ or free https://www.yworks.com/products/yed.
我将 ModelMakers 单元依赖分析器 与 Lattix LDM。
I use ModelMakers Unit Dependency Analyzer together with Lattix LDM.
开源 pascal 代码文档工具 PasDoc 也可以做到这一点
The open source pascal code documentation tool PasDoc can do that too