Add a grid-based graph