moves new graph layout code into dashboard-graph plugin