title: Tools to generate unit dependencies for Delphi
body: <p>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.</p>
  
  <p>I've tried <a href="http://www.scitools.com/" rel="noreferrer">Understand</a> and it doesn't seem to do what I want.</p>