UndirectedGraph

Undirected graph implementation This is a subclass of Graph.

UndirectedGraph:connect(nodeA, nodeB)

View source

Connects two nodes.

Arguments:

  • nodeA (Graph.Node): starting node.
  • nodeB (Graph.Node): ending node.