DebugGraph: fix printDebugGraph()