drawGraph