deleteNodesWithData

Deletes all nodes in the grid that have the specified data. Deleted nodes are not considered neighbours of nodes.

Parameters

data

The data value to match for deletion.

Throws

Called the function after edges have been added to the grid is not supported