improved drawing graph.