Skip to main content
QUICK REVIEW

[Paper Review] Force-Directed Graph Drawing Using Social Gravity and Scaling

Michael J. Bannister, David Eppstein|arXiv (Cornell University)|Sep 4, 2012
Data Visualization and AnalyticsComputer Science17 references6 citations
TL;DR

This paper introduces social gravity—a force-directed graph drawing technique that assigns vertex mass based on network centrality measures (degree, betweenness, closeness) to position central nodes physically at the center of the layout. By combining social gravity with dynamic scaling of gravitational forces during simulation, the method reduces edge crossings, improves angular resolution, and produces aesthetically pleasing, compact drawings of trees, forests, and social networks, including Lombardi-style circular-arc edge layouts.

ABSTRACT

Force-directed layout algorithms produce graph drawings by resolving a system of emulated physical forces. We present techniques for using social gravity as an additional force in force-directed layouts, together with a scaling technique, to produce drawings of trees and forests, as well as more complex social networks. Social gravity assigns mass to vertices in proportion to their network centrality, which allows vertices that are more graph-theoretically central to be visualized in physically central locations. Scaling varies the gravitational force throughout the simulation, and reduces crossings relative to unscaled gravity. In addition to providing this algorithmic framework, we apply our algorithms to social networks produced by Mark Lombardi, and we show how social gravity can be incorporated into force-directed Lombardi-style drawings.

Motivation & Objective

  • To address the lack of centrality-aware positioning in traditional force-directed graph layouts, where central nodes are not naturally drawn in the center.
  • To improve the visual quality of graph drawings by ensuring high-centrality vertices are physically centralized using a generalized gravitational force.
  • To reduce edge crossings and enhance uniformity and angular resolution in force-directed layouts through dynamic gravity scaling.
  • To integrate social gravity into Lombardi-style graph drawing with circular-arc edges, preserving aesthetic qualities while improving structural clarity.
  • To provide a practical, extensible framework for force-directed layout that supports multiple centrality measures and scalable gravity application.

Proposed method

  • Assigns vertex mass proportional to any centrality measure (degree, betweenness, closeness) to simulate social gravity, pulling high-centrality nodes toward the center.
  • Applies a scaling technique that gradually increases gravitational force during the simulation, starting from zero to avoid premature convergence and reduce crossings.
  • Combines social gravity with standard spring forces (attractive along edges) and universal repulsive forces (to prevent overlap).
  • Uses a force-directed simulation framework that evolves toward a minimal-energy state, with gravity dynamically modulated over time steps.
  • Integrates the gravity-based layout with existing Lombardi-style algorithms that use circular-arc edges and optimize angular resolution.
  • Employs a dummy-vertex approach to maintain edge length uniformity when combining gravity with Lombardi edge forces.

Experimental results

Research questions

  • RQ1Can social gravity, based on graph-theoretic centrality, be used to position high-centrality nodes at the physical center of a force-directed layout?
  • RQ2How does dynamic scaling of gravitational forces affect edge crossing reduction and layout quality in force-directed drawings?
  • RQ3Can social gravity be effectively combined with Lombardi-style circular-arc edge drawing to preserve aesthetic quality while improving centrality-based positioning?
  • RQ4What is the impact of different centrality measures (degree, betweenness, closeness) on the resulting layout structure and visual clarity?
  • RQ5How does the proposed method compare to radial layouts that constrain nodes to discrete rings based on centrality?

Key findings

  • Social gravity successfully positions high-centrality vertices at the center of the layout, aligning with graph-theoretic centrality and improving visual interpretability.
  • Dynamic gravity scaling significantly reduces edge crossings compared to unscaled gravity, preventing premature convergence into poor local minima.
  • The method produces more uniform vertex distribution and improved angular resolution, especially around central nodes.
  • The integration of social gravity with Lombardi-style edge drawing preserves the aesthetic qualities of circular-arc edges while enhancing structural clarity.
  • The approach produces compact, crossing-free drawings for trees and forests, and aesthetically pleasing results for complex social networks.
  • The algorithm is extensible and can be adapted to various centrality measures and edge-drawing styles with minimal modification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.