Using graph.addCell()
Using graph.resetCells()