It Pays to Be Lazy: Reusing Force Approximations to Compute Better Graph Layouts Faster

N-body simulations are common in applications ranging from physics simulations to computing graph layouts. The simulations are slow, but tree-based approximation algorithms like Barnes-Hut or the Fast Multipole Method dramatically improve performance. This paper proposes two new update schedules, uniform and dynamic, to make this type of approximation algorithm even faster by updating the approximation less often. An evaluation of these new schedules on computing graph layouts finds that the schedules typically decrease the running time by 9% to 18% for Barnes-Hut and 88% to 92% for the Fast Multipole Method. An experiment using 4 layout quality metrics on 50 graphs shows that the uniform schedule has similar or better graph layout quality compared to the standard BarnesHut or Fast Multipole Method algorithms.

[1]  Jeffrey Heer,et al.  D³ Data-Driven Documents , 2011, IEEE Transactions on Visualization and Computer Graphics.

[2]  Yifan Hu,et al.  Drawing Large Graphs by Low‐Rank Stress Majorization , 2012, Comput. Graph. Forum.

[3]  Yehuda Koren,et al.  Graph Drawing by Stress Majorization , 2004, GD.

[4]  Alexander Wolff,et al.  Faster Force-Directed Graph Drawing with the Well-Separated Pair Decomposition , 2016, Algorithms.

[5]  Stephen G. Kobourov,et al.  Graph Layouts by t‐SNE , 2017, Comput. Graph. Forum.

[6]  Michael Jünger,et al.  Large-Graph Layout Algorithms at Work: An Experimental Study , 2007, J. Graph Algorithms Appl..

[7]  Srinivas Aluru,et al.  Distribution-Independent Hierarchical Algorithms for the N-body Problem , 1998, The Journal of Supercomputing.

[8]  Jeffrey Heer,et al.  prefuse: a toolkit for interactive information visualization , 2005, CHI.

[9]  Timothy A. Davis,et al.  The university of Florida sparse matrix collection , 2011, TOMS.

[10]  Peter Eades,et al.  Shape-Based Quality Metrics for Large Graph Visualization , 2015, J. Graph Algorithms Appl..

[11]  L. Greengard The Rapid Evaluation of Potential Fields in Particle Systems , 1988 .

[12]  Walter Dehnen,et al.  A Hierarchical O(N) Force Calculation Algorithm , 2002 .

[13]  Edward M. Reingold,et al.  Graph drawing by force‐directed placement , 1991, Softw. Pract. Exp..

[14]  Stephen G. Kobourov,et al.  Force-Directed Drawing Algorithms , 2013, Handbook of Graph Drawing and Visualization.

[15]  Emden R. Gansner,et al.  An open graph visualization system and its applications to software engineering , 2000 .

[16]  Peter Eades,et al.  FADE: Graph Drawing, Clustering, and Visual Abstraction , 2000, GD.

[17]  Ben Shneiderman,et al.  Readability metric feedback for aiding node-link visualization designers , 2015, IBM J. Res. Dev..

[18]  M. Jacomy,et al.  ForceAtlas2, a Continuous Graph Layout Algorithm for Handy Network Visualization Designed for the Gephi Software , 2014, PloS one.

[19]  David Gotz,et al.  Exploring Flow, Factors, and Outcomes of Temporal Event Sequences with the Outflow Visualization , 2012, IEEE Transactions on Visualization and Computer Graphics.

[20]  Yifan Hu,et al.  Efficient, High-Quality Force-Directed Graph Drawing , 2006 .

[21]  Mathieu Bastian,et al.  Gephi: An Open Source Software for Exploring and Manipulating Networks , 2009, ICWSM.

[22]  Jérôme Kunegis,et al.  KONECT: the Koblenz network collection , 2013, WWW.

[23]  Pierre Dragicevic,et al.  Fair Statistical Communication in HCI , 2016 .

[24]  S. Rao Kosaraju,et al.  A decomposition of multidimensional point sets with applications to k-nearest-neighbors and n-body potential fields , 1995, JACM.

[25]  Laurens van der Maaten,et al.  Accelerating t-SNE using tree-based algorithms , 2014, J. Mach. Learn. Res..

[26]  Michael Jünger,et al.  Drawing Large Graphs with a Potential-Field-Based Multilevel Algorithm , 2004, GD.

[27]  Jeffrey Heer,et al.  Protovis: A Graphical Toolkit for Visualization , 2009, IEEE Transactions on Visualization and Computer Graphics.

[28]  Walter Didimo,et al.  A Million Edge Drawing for a Fistful of Dollars , 2015, Graph Drawing.