draw graph, including vertices and edges