Max
Max

Reputation: 20004

Tools to generate unit dependencies for 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.

Upvotes: 12

Views: 6710

Answers (6)

Z.B.
Z.B.

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

dummzeuch
dummzeuch

Reputation: 11217

The open source pascal code documentation tool PasDoc can do that too

Upvotes: 0

Francesca
Francesca

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

Chris Thornton
Chris Thornton

Reputation: 15817

See this related question, where Peganza was discussed. Tool that shows unit dependencies for Delphi 2010 or Delphi 7 program

Upvotes: 3

Uwe Raabe
Uwe Raabe

Reputation: 47714

I use ModelMakers Unit Dependency Analyzer together with Lattix LDM.

Upvotes: 2

Jens Björnhager
Jens Björnhager

Reputation: 5649

Perhaps ICARUS is helpful.

Upvotes: 3

Related Questions