Visualize a graph