Multicriteria Scalable Graph Drawing via Stochastic Gradient Descent, $(SGD)^2$

Reyan Ahmed, Felice De Luca, Sabin Devkota, Stephen Kobourov, Mingwei Li
12/2/2021
cs.CG

Official code: tiga1231/graph-drawing (8 stars, Jupyter Notebook, last commit 2024-09-27).

Abstract

Readability criteria, such as distance or neighborhood preservation, are often used to optimize node-link representations of graphs to enable the comprehension of the underlying data. With few exceptions, graph drawing algorithms typically optimize one such criterion, usually at the expense of others.

Show full abstract

We propose a layout approach, Multicriteria Scalable Graph Drawing via Stochastic Gradient Descent, $(SGD)^2$, that can handle multiple readability criteria. $(SGD)^2$ can optimize any criterion that can be described by a differentiable function. Our approach is flexible and can be used to optimize several criteria that have already been considered earlier (e.g., obtaining ideal edge lengths, stress, neighborhood preservation) as well as other criteria which have not yet been explicitly optimized in such fashion (e.g., node resolution, angular resolution, aspect ratio). The approach is scalable and can handle large graphs. A variation of the underlying approach can also be used to optimize many desirable properties in planar graphs, while maintaining planarity. Finally, we provide quantitative and qualitative evidence of the effectiveness of $(SGD)^2$: we analyze the interactions between criteria, measure the quality of layouts generated from $(SGD)^2$ as well as the runtime behavior, and analyze the impact of sample sizes. The source code is available on github and we also provide an interactive demo for small graphs.

View on arXivView PDF

Code Implementations(1)

86Jupyter Notebook, HTMLMar 30, 20202 years ago

Similar Papers

Cite this paper

@article{ahmed2021multicriteria,
  title  = {Multicriteria Scalable Graph Drawing via Stochastic Gradient Descent, $(SGD)^2$},
  author = {Reyan Ahmed and Felice De Luca and Sabin Devkota and Stephen Kobourov and Mingwei Li},
  year   = {2021},
  eprint = {2112.01571},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.01571}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.01571.svg)](https://codeofpaper.com/paper/2112.01571)

Discussion