
Test if a graph is a spanning tree
is_spanning_tree.RdReturns TRUE if tree is a spanning tree: a connected acyclic graph with
exactly n-1 edges. To additionally check that tree uses only edges from a
reference graph, see is_spanning_tree_of().