Fixes/improvements to get_dot_dependency_graph().
- Fix a typo in an argument name.
- Reverse the dependency edges, because it's more typical for the arrow to point to the instruction that the computation depends on, rather than the other way around.
- Add a hook for customizing the graph preamble.
Edited by Matt Wala