draw a graph done