English

Proximity Alert: Ipelets for Neighborhood Graphs and Clustering

Computational Geometry 2026-03-31 v1

Abstract

Neighborhood graphs and clustering algorithms are fundamental structures in both computational geometry and data analysis. Visualizing them can help build insight into their behavior and properties. The Ipe extensible drawing editor, developed by Otfried Cheong, is a widely used software system for generating figures. One particular aspect of Ipe is the ability to add Ipelets, which extend its functionality. Here we showcase a set of Ipelets designed to help visualize neighborhood graphs and clustering algorithms. These include: \eps\eps-neighbor graphs, furthest-neighbor graphs, Gabriel graphs, kk-nearest neighbor graphs, kthk^{th}-nearest neighbor graphs, kk-mutual neighbor graphs, kthk^{th}-mutual neighbor graphs, asymmetric kk-nearest neighbor graphs, asymmetric kthk^{th}-nearest neighbor graphs, relative-neighbor graphs, sphere-of-influence graphs, Urquhart graphs, Yao graphs, and clustering algorithms including complete-linkage, DBSCAN, HDBSCAN, kk-means, kk-means++, kk-medoids, mean shift, and single-linkage. Our Ipelets are all programmed in Lua and are freely available.

Keywords

Cite

@article{arxiv.2603.27023,
  title  = {Proximity Alert: Ipelets for Neighborhood Graphs and Clustering},
  author = {Gitan Balogh and June Cagan and Bea Fatima and Auguste H. Gezalyan and Danesh Sivakumar and Arushi Srinivasan and Yixuan Sun and Vahe Zaprosyan and David M. Mount},
  journal= {arXiv preprint arXiv:2603.27023},
  year   = {2026}
}