generates a minimum spanning tree from a weighted graph
This module exposes the span function, which uses Prim's algorithm to generate a minimum spanning tree from a weighted graph.
Converts a graph with the fields nodes : [ x, y ] and edges : { endpoints : [ ...nodeIndices ], weight: Number } to a minimum spanning tree.
