Reputation: 20004
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.
Upvotes: 12
Views: 6710
Reputation: 1205
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.
Upvotes: 3
Reputation: 11217
The open source pascal code documentation tool PasDoc can do that too
Upvotes: 0
Reputation: 21640
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.
Upvotes: 9
Reputation: 15817
See this related question, where Peganza was discussed. Tool that shows unit dependencies for Delphi 2010 or Delphi 7 program
Upvotes: 3
Reputation: 47714
I use ModelMakers Unit Dependency Analyzer together with Lattix LDM.
Upvotes: 2