corrected the graph output path to allow using the module outside of the iteration (resulted in a NullPointerException before)
Authored by: thibautd 2011-12-13
Parent: [r17732]
Child: [r17734]