block by bmershon 25a74f7b1c7cbd07e7456af1d2c07da1

Minimum Spanning Tree

Full Screen

Kruskal’s Algorithm may be used to find the minimum spanning tree of a given graph. Kruskal’s algorithm relies on a disjoint-set data structure.

Click and hold to see the minimum spanning tree for original graph.

Thicker red lines have a higher weight associated with them than thinner black lines. The minimum spanning tree avoids including higher cost edges.

index.html

disjoint-set.js

kruskal-mst.js

network.csv