Visualizer for graphs and algorithms