12

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.

Max
  • 19,654
  • 13
  • 84
  • 122

6 Answers6

9

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.

Francesca
  • 21,452
  • 4
  • 49
  • 90
3

Perhaps ICARUS is helpful.

Jens Björnhager
  • 5,632
  • 3
  • 27
  • 47
  • From the description it seems that it helps to remove unused units. Can it show dependencies? – Max Jun 19 '10 at 15:59
  • 1
    The full peganza used to do this. It would list the full dependency graph. Could not see if current version does. Maybe email and ask – MikeJ Jun 19 '10 at 16:23
3

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

Community
  • 1
  • 1
Chris Thornton
  • 15,620
  • 5
  • 37
  • 62
3

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.

Kromster
  • 7,181
  • 7
  • 63
  • 111
Z.B.
  • 1,185
  • 9
  • 18
2

I use ModelMakers Unit Dependency Analyzer together with Lattix LDM.

Uwe Raabe
  • 45,288
  • 3
  • 82
  • 130
0

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

dummzeuch
  • 10,975
  • 4
  • 51
  • 158