Update svg-graph.js