Add visualizer for graphs