Disjoint set

Union-Find (disjoint-set) React component. Forest of trees per set with per-root rank badges, union-by-rank + path-compression. Perfect for Kruskal MST, connected-components, cycle-detection pedagogy. Part of the Veloce UI motion-first React 19 component library — install with npm i veloce-ui.

npm i veloce-ui