clearGraphs