rocks on a graph