delete Node At XY
Deletes the node at the specified (x, y) coordinates in the grid.
If the coordinates are outside the grid, a warning is printed, and no action is taken.
Parameters
x
The x-coordinate of the node to delete.
y
The y-coordinate of the node to delete.