Grid border

When I generate my grid graph, there’s a gap between the boundary of the grid and where the actual graph starts:

This is making it difficult to line things up properly. Is there a way that I can remove/regulate that border?

Thank you.

Note that what is visible in the editor is the connections between nodes, not the squares which make up the nodes. So that corner there is the center of a node.
It is clearer if you use “Neighbours = Eight”. So that grid looks perfectly aligned.

That makes sense. Thank you.