renamed test.js to drawGraph.js