Min Cost to Connect All Points — Interactive Visualizer

Construct a Minimum Spanning Tree (MST) using Prim's algorithm to link 2D points with minimal total Manhattan distance.