before touching Graph.js