Abstract
We describe a heuristic method for drawing graphs which uses a multilevel technique combined with a force-directed placement algorithm. The multilevel process groups vertices to form clusters, uses the clusters to define a new graph and is repeated until the graph size falls below some threshold. The coarsest graph is then given an initial layout and the layout is successively refined on all the graphs starting with the coarsest and ending with the original. In this way the multilevel algorithm both accelerates and gives a more global quality to the force- directed placement. The algorithm can compute both 2 & 3 dimensional layouts and we demonstrate it on a number of examples ranging from 500 to 225,000 vertices. It is also very fast and can compute a 2D layout of a sparse graph in around 30 seconds for a 10,000 vertex graph to around 10 minutes for the largest graph. This is an order of magnitude faster than recent implementations of force-directed placement algorithms.
Download conference paper PDF
References
R. Davidson and D. Harel. Drawing Graphs Nicely using Simulated Annealing. ACM Trans. Graphics, 15(4):301–331, 1996.
G. Di Battista, P. Eades, R. Tamassia, and I. G. Tollis. Graph Drawing: Algorithms for the Visualization of Graphs. Prentice-Hall, New Jersey, U.S.A., 1998.
C. A. Duncan, M. T. Goodrich, and S. G. Kobourov. Planarity-Preserving Clustering and Embedding for Large Planar Graphs. In J. Kratochví, editor, Proc. 7th Int. Symp. Graph Drawing, volume 1731 of LNCS. Springer, 1999.
P. Eades. A Heuristic for Graph Drawing. Congressus Numerantium, 42:149–160, 1984.
P. Eades and Q. Feng. Multilevel Visualization of Clustered Graphs. In Proc. 6th Int. Symp. Graph Drawing, volume 1190 of LNCS, pages 101–112. Springer, 1996.
P. Eades, Q. Feng, X. Lin, and H. Nagamochi. Straight-Line Drawing Algorithms for Hierarchical Graphs and Clustered Graphs. Tech. rep. 98–03, Dept. Comp. Sci., Univ. Newcastle, Callaghan 2308, Australia, 1998.
T. M. J. Fruchterman and E. M. Reingold. Graph Drawing by Force-Directed Placement. Software-Practice & Experience, 21(11):1129–1164, 1991.
R. Hadany and D. Harel. A Multi-Scale Algorithm for Drawing Graphs Nicely. Tech. Rep. CS99–01, Weizmann Inst. Sci., Faculty Maths. Comp. Sci., Jan, 1999.
D. Harel and Y. Koren. A Fast Multi-Scale Algorithm for Drawing Large Graphs. Tech. Rep. CS99–21, Weizmann Inst. Sci., Faculty Maths. Comp. Sci., Nov, 1999.
B. Hendrickson and R. Leland. A Multilevel Algorithm for Partitioning Graphs. In S. Karin, editor, Proc. Supercomputing’ 95. ACM Press, 1995.
C. H. Papadimitriou and K. Stieglitz. Combinatorial Optimization: Algorithms and Complexity. Prentice Hall, Englewood Cliffs, NJ, 1982.
R. Sablowski and A. Frick. Automatic Graph Clustering. In Proc. 6th Int. Symp. Graph Drawing, volume 1190 of LNCS, pages 395–400. Springer, 1996.
D. Tunkelang. JIGGLE: Java Interactive General Graph Layout Environment. In S. H. Whitesides, editor, Proc. 6th Int. Symp. Graph Drawing, volume 1547 of LNCS, pages 413–422. Springer, 1998.
C. Walshaw. A Multilevel Algorithm for Force-Directed Graph Drawing. Tech. Rep. 00/IM/60, Univ. Greenwich, London SE10 9LS, UK, April 2000.
C. Walshaw. A Multilevel Approach to the Travelling Salesman Problem. Tech. Rep. 00/IM/63, Univ. Greenwich, London SE10 9LS, UK, Aug. 2000.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Walshaw, C. (2001). A Multilevel Algorithm for Force-Directed Graph Drawing. In: Marks, J. (eds) Graph Drawing. GD 2000. Lecture Notes in Computer Science, vol 1984. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44541-2_17
Download citation
DOI: https://doi.org/10.1007/3-540-44541-2_17
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-41554-1
Online ISBN: 978-3-540-44541-8
eBook Packages: Springer Book Archive