faster force directed graph drawing with the well
play

Faster Force-Directed Graph Drawing with the Well-Separated Pair - PowerPoint PPT Presentation

Faster Force-Directed Graph Drawing with the Well-Separated Pair Decomposition Fabian Lipp Alexander Wolff Johannes Zink Julius-Maximilians-Universitt Wrzburg September 24, Graph Drawing 2015 Introduction Classical force-directed


  1. Faster Force-Directed Graph Drawing with the Well-Separated Pair Decomposition Fabian Lipp Alexander Wolff Johannes Zink Julius-Maximilians-Universität Würzburg September 24, Graph Drawing 2015

  2. Introduction Classical force-directed algorithm [Eades, 1984, Fruchterman & Reingold, 1991] Attracting forces: O ( m ) time with m = # edges Repulsive forces: Θ( n 2 ) time with n = # vertices Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 1 / 11

  3. Introduction Classical force-directed algorithm [Eades, 1984, Fruchterman & Reingold, 1991] Attracting forces: O ( m ) time with m = # edges Repulsive forces: Θ( n 2 ) time with n = # vertices Many speed-up techniques for force-directed algorithms known: Hierarchical O ( n log n ) force-calculation [Barnes & Hut, 1986] Potential-field-based multilevel algorithm [Hachul & Jünger, 2005] Evaluation of multilevel layout methods [Bartel et al., 2011] Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 1 / 11

  4. Introduction Classical force-directed algorithm [Eades, 1984, Fruchterman & Reingold, 1991] Attracting forces: O ( m ) time with m = # edges Repulsive forces: Θ( n 2 ) time with n = # vertices Many speed-up techniques for force-directed algorithms known: Hierarchical O ( n log n ) force-calculation [Barnes & Hut, 1986] Potential-field-based multilevel algorithm [Hachul & Jünger, 2005] Evaluation of multilevel layout methods [Bartel et al., 2011] Our approach Using well-separated pair decomposition to speed up repulsive force calculation to O ( n log n ) time. Can be combined with other speed-up techniques. Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 1 / 11

  5. Well-Separated Pairs Definition A Let s > 0. A and B in R 2 are s -well-separated iff there are two balls C A and C B with A ⊆ C A and B ⊆ C B , radius r := r ( C A ) = r ( C B ) , and distance ≥ s · r . [Callahan & Kosaraju, 1995] B Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 2 / 11

  6. Well-Separated Pairs C A Definition A Let s > 0. A and B in R 2 are s -well-separated iff there are two balls C A and C B with A ⊆ C A and B ⊆ C B , radius r := r ( C A ) = r ( C B ) , and distance ≥ s · r . C B [Callahan & Kosaraju, 1995] B Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 2 / 11

  7. Well-Separated Pairs C A r Definition A Let s > 0. A and B in R 2 are s -well-separated iff there are two balls C A and C B with A ⊆ C A and B ⊆ C B , radius r := r ( C A ) = r ( C B ) , and distance ≥ s · r . C B r [Callahan & Kosaraju, 1995] B Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 2 / 11

  8. Well-Separated Pairs C A r Definition A Let s > 0. A and B in R 2 are s -well-separated iff there are two balls C A and C B with A ⊆ C A and B ⊆ C B , ≥ s · r radius r := r ( C A ) = r ( C B ) , and distance ≥ s · r . C B r [Callahan & Kosaraju, 1995] B Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 2 / 11

  9. Well-Separated Pairs C A r Definition A Let s > 0. A and B in R 2 are s -well-separated iff there are two balls C A and C B with A ⊆ C A and B ⊆ C B , ≥ s · r radius r := r ( C A ) = r ( C B ) , and distance ≥ s · r . C B r [Callahan & Kosaraju, 1995] B Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 2 / 11

  10. Well-Separated Pair Decomposition (WSPD) Definition Let S be a finite set in R 2 . A WSPD for S with respect to s > 0 is a sequence { A 1 , B 1 } , { A 2 , B 2 } , . . . , { A k , B k } of s -well-separated pairs A i , B i such that A i , B i ⊆ S , and ∀ a � = b ∈ S there is exactly one i with a ∈ A i and b ∈ B i or vice versa. Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 3 / 11

  11. Well-Separated Pair Decomposition (WSPD) Definition Let S be a finite set in R 2 . A WSPD for S with respect to s > 0 is a sequence { A 1 , B 1 } , { A 2 , B 2 } , . . . , { A k , B k } of s -well-separated pairs A i , B i such that A i , B i ⊆ S , and ∀ a � = b ∈ S there is exactly one i with a ∈ A i and b ∈ B i or vice versa. Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 3 / 11

  12. Well-Separated Pair Decomposition (WSPD) Definition Let S be a finite set in R 2 . A WSPD for S with respect to s > 0 is a sequence { A 1 , B 1 } , { A 2 , B 2 } , . . . , { A k , B k } of s -well-separated pairs A i , B i such that A i , B i ⊆ S , and ∀ a � = b ∈ S there is exactly one i with a ∈ A i and b ∈ B i or vice versa. Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 3 / 11

  13. Well-Separated Pair Decomposition (WSPD) Definition Let S be a finite set in R 2 . A WSPD for S with respect to s > 0 is a sequence { A 1 , B 1 } , { A 2 , B 2 } , . . . , { A k , B k } of s -well-separated pairs A i , B i such that A i , B i ⊆ S , and ∀ a � = b ∈ S there is exactly one i with a ∈ A i and b ∈ B i or vice versa. Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 3 / 11

  14. Well-Separated Pair Decomposition (WSPD) Definition Let S be a finite set in R 2 . A WSPD for S with respect to s > 0 is a sequence { A 1 , B 1 } , { A 2 , B 2 } , . . . , { A k , B k } of s -well-separated pairs A i , B i such that A i , B i ⊆ S , and ∀ a � = b ∈ S there is exactly one i with a ∈ A i and b ∈ B i or vice versa. Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 3 / 11

  15. Well-Separated Pair Decomposition (WSPD) Definition Let S be a finite set in R 2 . A WSPD for S with respect to s > 0 is a sequence { A 1 , B 1 } , { A 2 , B 2 } , . . . , { A k , B k } of s -well-separated pairs A i , B i such that A i , B i ⊆ S , and ∀ a � = b ∈ S there is exactly one i with a ∈ A i and b ∈ B i or vice versa. Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 3 / 11

  16. Well-Separated Pair Decomposition (WSPD) Definition Let S be a finite set in R 2 . A WSPD for S with respect to s > 0 is a sequence { A 1 , B 1 } , { A 2 , B 2 } , . . . , { A k , B k } of s -well-separated pairs A i , B i such that A i , B i ⊆ S , and ∀ a � = b ∈ S there is exactly one i with a ∈ A i and b ∈ B i or vice versa. Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 3 / 11

  17. Computation of WSPD Theorem Let S be a set of n points in R 2 . For any s > 0 , a WSPD consisting of O ( n ) pairs can be computed in O ( n log n ) time. [Callahan & Kosaraju, 1995] Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 4 / 11

  18. Repulsive Force Calculation | B | · F rep | A | · F rep Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  19. Repulsive Force Calculation | B | · F rep | A | · F rep Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  20. Repulsive Force Calculation | B | · F rep | A | · F rep Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  21. Repulsive Force Calculation | B | · F rep | A | · F rep Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  22. Repulsive Force Calculation | B | · F rep | A | · F rep Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  23. Repulsive Force Calculation | B | · F rep | A | · F rep Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  24. Repulsive Force Calculation | B | · F rep | A | · F rep Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  25. Repulsive Force Calculation | B | · F rep | A | · F rep Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  26. Repulsive Force Calculation | B | · F rep | A | · F rep Compute forces for Θ( n 2 ) pairs of vertices Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  27. Repulsive Force Calculation | B | · F rep | A | · F rep Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  28. Repulsive Force Calculation | B | · F rep | A | · F rep Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  29. Repulsive Force Calculation | B | · F rep | A | · F rep Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  30. Repulsive Force Calculation | B | · F rep | A | · F rep Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  31. Repulsive Force Calculation | B | · F rep A | A | · F rep B Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  32. Repulsive Force Calculation | B | · F rep A | A | · F rep B Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

  33. Repulsive Force Calculation | B | · F rep | A | · F rep Fabian Lipp , Alexander Wolff, Johannes Zink Force-Directed Graph Drawing with WSPD 5 / 11

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend