window.onload = function() { graph.hook(); gui.construct(); gui.render(); };