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.