Mark recursions in output
Quick hack to mark multiple occurrences of the same objects in the graph