Accelerating Web-Based Graph Drawing with Bottom-Up GPU Quadtree Construction
Graph drawing, or graph layout creation, is a computationally difficult challenge in visualization that involves placing the vertices of a graph into a layout that provides insight into its structure. In order to visualize large-scale graphs, effective layouts are necessary for understanding. Previous work has shown the potential for graph drawing directly in the web browser by using WebGPU, a new API that brings the full capabilities of modern GPUs to the web. Compared to the existing state-of-the-art for web-based graph visualization, which rely on CPU-based graph drawing algorithms, WebGPU-accelerated work improves performance and scalability. However, we find that existing WebGPU solutions utilize suboptimal quadtree data structures for graph drawing. In this work, we implement a modified quadtree data structure that uses a Hilbert spatial ordering for a fully parallelizable bottom-up construction algorithm in WebGPU. We utilize this data structure, along with optimizations to the quadtree traversal, to propose a massively more performant graph drawing algorithm. We evaluate the performance of our work against the existing state-of-the-art and demonstrate up to 69.5 × speed-ups for layout creation of relevant graphs while enabling graph drawing for datasets of much larger size.
Authors
- Steve Petruzza (ORCID: https://orcid.org/0000-0002-2649-1595)
- Stavros Sintos (ORCID: https://orcid.org/0000-0002-2114-8886)
- Landon Dyken (ORCID: https://orcid.org/0009-0008-9546-6685)
- Will Usher (ORCID: https://orcid.org/0000-0001-5008-8280)
- Sidharth Kumar (ORCID: https://orcid.org/0009-0007-0418-9962)
Institutions
- Utah State University (US)
- St. Cloud Hospital (US)
- University of Illinois Chicago (US)
Publication Details
- Published
- 2025-04-22
- DOI
- https://doi.org/10.1109/pacificvis64226.2025.00008
- Citations
- 2
- Primary Topic
- Computational Geometry and Mesh Generation
- Type
- article
- Field-Weighted Citation Impact
- 7.08