Take a look at SymbolDependencyGraph. This is one of my favorite resource functions.
Here are more ideas: Automatically generating a dependency graph of an arbitrary Mathematica function?