# A Deep Generative Model for Graph Layout

arXiv: https://arxiv.org/abs/1904.12225 · HTML: https://mlsanity.com/paper/1904.12225/

## Key facts

- Cited by 19 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 27 Apr 2019.

## Built on by (most cited first, 19 of 19)

- [Foundation Models Meet Visualizations: Challenges and Opportunities](https://mlsanity.com/paper/2310.05771/) (2023)
- [Generative AI for Visualization: State of the Art and Future Directions](https://mlsanity.com/paper/2404.18144/) (2024)
- [DeepGD: A Deep Learning Framework for Graph Drawing Using GNN](https://mlsanity.com/paper/2106.15347/) (2021)
- [Graph Neural Networks for Graph Drawing](https://mlsanity.com/paper/2109.10061/) (2021)
- [UnProjection: Leveraging Inverse-Projections for Visual Analytics of High-Dimensional Data](https://mlsanity.com/paper/2111.01744/) (2021)
- [Deep Neural Network for DrawiNg Networks, (DNN)^2](https://mlsanity.com/paper/2108.03632/) (2021)
- [SmartGD: A GAN-Based Graph Drawing Framework for Diverse Aesthetic Goals](https://mlsanity.com/paper/2206.06434/) (2022)
- [Ask and You Shall Receive (a Graph Drawing): Testing ChatGPT's Potential to Apply Graph Layout Algorithms](https://mlsanity.com/paper/2303.08819/) (2023)
- [Illuminating LLM Coding Agents: Visual Analytics for Deeper Understanding and Enhancement](https://mlsanity.com/paper/2508.12555/) (2025)
- [Adversarial Attacks on Machine Learning-Aided Visualizations](https://mlsanity.com/paper/2409.02485/) (2024)
- [A Machine Learning Approach for Predicting Human Preference for Graph Layouts](https://mlsanity.com/paper/2103.03665/) (2021)
- [Revisiting 2D Convolutional Neural Networks for Graph-based Applications](https://mlsanity.com/paper/2105.11016/) (2021)
- [A Deep Generative Model for Reordering Adjacency Matrices](https://mlsanity.com/paper/2110.04971/) (2021)
- [Interactive Visual Pattern Search on Graph Data via Graph Representation Learning](https://mlsanity.com/paper/2202.09459/) (2022)
- [VSAL: A Vision Solver with Adaptive Layouts for Graph Property Detection](https://mlsanity.com/paper/2602.13880/) (2026)
- [Can an NN model plainly learn planar layouts?](https://mlsanity.com/paper/2209.01075/) (2022)
- [Using Reinforcement Learning to Optimize the Global and Local Crossing Number](https://mlsanity.com/paper/2509.06108/) (2025)
- [Human-Data Interaction, Exploration, and Visualization in the AI Era: Challenges and Opportunities](https://mlsanity.com/paper/2603.05542/) (2026)
- [Beauty in the Eye of AI: Aligning LLMs and Vision Models with Human Aesthetics in Network Visualization](https://mlsanity.com/paper/2604.03417/) (2026)

## Abstract (arXiv)

Different layouts can characterize different aspects of the same graph. Finding a "good" layout of a graph is thus an important task for graph visualization. In practice, users often visualize a graph in multiple layouts by using different methods and varying parameter settings until they find a layout that best suits the purpose of the visualization. However, this trial-and-error process is often haphazard and time-consuming. To provide users with an intuitive way to navigate the layout design space, we present a technique to systematically visualize a graph in diverse layouts using deep generative models. We design an encoder-decoder architecture to learn a model from a collection of example layouts, where the encoder represents training examples in a latent space and the decoder produces layouts from the latent space. In particular, we train the model to construct a two-dimensional latent space for users to easily explore and generate various layouts. We demonstrate our approach through quantitative and qualitative evaluations of the generated layouts. The results of our evaluations show that our model is capable of learning and generalizing abstract concepts of graph layouts, not just memorizing the training examples. In summary, this paper presents a fundamentally new approach to graph visualization where a machine learning model learns to visualize a graph from examples without manually-defined heuristics.
