added ability to draw graph with all its nodes and edges