powered by
Kruskal's algorithm for MST computation.
kruskal(edge.list, m)
A data frame with columnns 'from', 'to', 'dist'.
Number of nodes.
A list of edges in the MST, in the same format as the input argument edge.list.