Contents

add(_:)

Adds the specified nodes to the graph.

Declaration

func add(_ nodes: [GKGraphNode])

Parameters

  • nodes:

    An array of graph node objects—instances of Gkgraphnode or of one of its subclasses that adds geometry information.

Discussion

Calling this method does not connect the newly added nodes to others in the graph.

See Also

Working with Nodes in a Graph