getRandomSpanningTree: Generate random spanning tree.
Description
Given a grapherator object this function
returns a random spanning tree. The tree generation process is a simple heuristic:
A random weight from a \(U(0, 1)\)-distribution is assigned to each edge of the
graph. Next, a spanning tree is computed by spantree.