Instance Property


The list of nodes in the graph.


@property(nonatomic, readonly) NSArray<GKGraphNode *> *nodes;


This array can contain nodes that are not connected to other nodes 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.

- removeNodes:

Removes the specified nodes from the graph.