Instance Method

removeNodes:

Removes the specified nodes from the graph.

Declaration

- (void)removeNodes:(NSArray<GKGraphNode *> *)nodes;

Parameters

nodes

A node in the graph.

Discussion

This method has no effect on nodes in the array that are not in the graph.

See Also

Working with Nodes in a Graph

- addNodes:

Adds the specified nodes to the graph.

- connectNodeToLowestCostNode:bidirectional:

Adds a node to the graph, connecting it to the node already in the graph for which the connection has the lowest cost.

nodes

The list of nodes in the graph.