ObjectGraph will output Graphviz dot files of your objects in memory. It will ferret out your instance variables and enumerate over your enumerables to give you a graph of your object and its relationships.
For sample output and more sample code see:
- ObjectGraph now can graph ascendants of your objects
- Support for color diffing trees was added