Graph algorithm visualizer