Update graph_example.js

added Graph.Dashboard.addLayout functionality