Tools to generate unit dependencies for Delphi
Asked Answered
A

6

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.

America answered 19/6, 2010 at 15:37 Comment(0)
L
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.

Latten answered 20/6, 2010 at 1:31 Comment(1)
Does that copy all the files that the project needs to a given directory?Ariadne
M
3

Perhaps ICARUS is helpful.

Machute answered 19/6, 2010 at 15:50 Comment(2)
From the description it seems that it helps to remove unused units. Can it show dependencies?America
The full peganza used to do this. It would list the full dependency graph. Could not see if current version does. Maybe email and askDiacid
D
3

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

Deflagrate answered 19/6, 2010 at 17:12 Comment(0)
D
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.

Drooff answered 11/8, 2016 at 13:47 Comment(3)
@Kromster: thanks for the edit, I also use the yEd already for a long time :)Drooff
yEd is awesome and that's why I have asked DUDS developer to add support for it and gave him the export code :-DTarnish
@Tarnish and I asked them for Gephi :D So we have our 2 buttons here :)Drooff
W
2

I use ModelMakers Unit Dependency Analyzer together with Lattix LDM.

Wyon answered 19/6, 2010 at 15:59 Comment(0)
F
0

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

Finalist answered 11/8, 2016 at 14:16 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.