Draw the graph