added drawNode drawEdge