graph creating logic moved to Graph.js --> history.js deleted