pub fn minimum_spanning_tree( edges: &[MSTEdge], ) -> Result<(f64, Vec<MSTEdge>), Error>
Kruskal’s minimum spanning tree (or forest) algorithm.