add_grid_2d function

Add a 2D grid of nodes to the graph