Update path-graph.js
Merge pull request #4 from mingzhou/patch-1

Update path-graph.js