Update toy-Graph.js