“A grid is a graph in which the number of neighbors of all the nodes are the same. In other words, a graph is a superset of a grid. ”