node-kruskal

Given a distance array, computes the Minimum Spanning Tree using Kruskal's algorithm.

Browse on unpkg