bitonic st orderings for upward planar graphs
play

Bitonic st -orderings for Upward Planar Graphs Martin Gronemann - PowerPoint PPT Presentation

Bitonic st -orderings for Upward Planar Graphs Martin Gronemann University of Cologne, Germany September 20, 2016 Introduction Graph Drawing 2014 Bitonic st-orderings of biconnected planar graphs. A special st -ordering that is similar


  1. Bitonic st -orderings for Upward Planar Graphs Martin Gronemann University of Cologne, Germany September 20, 2016

  2. Introduction Graph Drawing 2014 ◮ Bitonic st-orderings of biconnected planar graphs. ◮ A special st -ordering that is similar to canonical orderings. ◮ Works with the algorithm of de Fraysseix, Pach and Pollack.

  3. Introduction Graph Drawing 2014 ◮ Bitonic st-orderings of biconnected planar graphs. ◮ A special st -ordering that is similar to canonical orderings. ◮ Works with the algorithm of de Fraysseix, Pach and Pollack. Here today ◮ Apply the idea to directed graphs, esp. planar st-graphs . ◮ Use it to create upward planar straight-line drawings.

  4. Introduction Planar st -graphs ◮ Planar directed acyclic graph G = ( V , E ) with ◮ a single source s ∈ V and single sink t ∈ V . ◮ G has a fixed embedding with s and t on the outer face.

  5. Introduction Planar st -graphs ◮ Planar directed acyclic graph G = ( V , E ) with ◮ a single source s ∈ V and single sink t ∈ V . ◮ G has a fixed embedding with s and t on the outer face. Important results on upward planar graphs ◮ Every upward planar graph is a spanning subgraph of a planar st -graph (Di Battista & Tamassia). ⇒ We focus on planar st -graphs. ◮ Every upward planar graph admits an upward planar straight-line drawing (Di Battista & Tamassia). ◮ Some require exponential area (Di Battista, Tamassia, Tollis).

  6. Incremental upward planar straight-line drawings Idea Use the algorithm of de Fraysseix, Pach and Pollack to obtain upward planar straight-line drawings for planar st -graphs. 8 7 1 2 4 5 6 3

  7. Incremental upward planar straight-line drawings Idea Use the algorithm of de Fraysseix, Pach and Pollack to obtain upward planar straight-line drawings for planar st -graphs. 8 8 7 7 1 2 6 4 5 6 5 4 3 3 1 2

  8. Incremental upward planar straight-line drawings Idea Use the algorithm of de Fraysseix, Pach and Pollack to obtain upward planar straight-line drawings for planar st -graphs. 8 8 7 7 1 2 6 4 5 6 5 4 3 3 1 2 ◮ If the (canonical) ordering complies with the orientation of the edges, the result is upward planar straight-line.

  9. Incremental upward planar straight-line drawings Idea Use the algorithm of de Fraysseix, Pach and Pollack to obtain upward planar straight-line drawings for planar st -graphs. 8 8 7 7 1 2 6 4 5 6 5 4 3 3 1 2 ◮ If the (canonical) ordering complies with the orientation of the edges, the result is upward planar straight-line. ◮ Canonical orderings do not extend to directed graphs, . . .

  10. Incremental upward planar straight-line drawings Idea Use the algorithm of de Fraysseix, Pach and Pollack to obtain upward planar straight-line drawings for planar st -graphs. 8 8 7 7 1 2 6 4 5 6 5 4 3 3 1 2 ◮ If the (canonical) ordering complies with the orientation of the edges, the result is upward planar straight-line. ◮ Canonical orderings do not extend to directed graphs, . . . ◮ . . . but st -orderings do ⇒ We use an st -ordering instead!

  11. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k G k − 1 ≥ 2 predecessors

  12. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k G k − 1 ≥ 2 predecessors

  13. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k G k − 1 ≥ 2 predecessors

  14. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k G k − 1 ≥ 2 predecessors ◮ Multiple-predecessor case works like in the original algorithm.

  15. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k v k u G k − 1 G k − 1 ≥ 2 predecessors 1 predecessor ◮ Multiple-predecessor case works like in the original algorithm.

  16. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k v k u G k − 1 G k − 1 ≥ 2 predecessors 1 predecessor ◮ Multiple-predecessor case works like in the original algorithm.

  17. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k v k u G k − 1 G k − 1 ≥ 2 predecessors 1 predecessor ◮ Multiple-predecessor case works like in the original algorithm.

  18. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k v k u G k − 1 G k − 1 ≥ 2 predecessors 1 predecessor ◮ Multiple-predecessor case works like in the original algorithm.

  19. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k v k u G k − 1 G k − 1 ≥ 2 predecessors 1 predecessor ◮ Multiple-predecessor case works like in the original algorithm.

  20. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k v k u G k − 1 G k − 1 ≥ 2 predecessors 1 predecessor ◮ Multiple-predecessor case works like in the original algorithm.

  21. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k v k u G k − 1 G k − 1 ≥ 2 predecessors 1 predecessor ◮ Multiple-predecessor case works like in the original algorithm.

  22. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k v k u G k − 1 G k − 1 ≥ 2 predecessors 1 predecessor ◮ Multiple-predecessor case works like in the original algorithm.

  23. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k v k u G k − 1 G k − 1 ≥ 2 predecessors 1 predecessor ◮ Multiple-predecessor case works like in the original algorithm. ◮ One-predecessor case works only when the unattached edges are all on one side (either left or right of ( u , v k )).

  24. Incremental upward planar straight-line drawings Problem Running the FPP-algorithm with an st -ordering does not work. v k v k u G k − 1 G k − 1 ≥ 2 predecessors 1 predecessor ◮ Multiple-predecessor case works like in the original algorithm. ◮ One-predecessor case works only when the unattached edges are all on one side (either left or right of ( u , v k )). ◮ They are consecutive ⇒ they are all on one side

  25. Canonical vs. st -orderings Intuition At any time, all outgoing edges that are not yet present in the current drawing, appear consecutively in the embedding.

  26. Canonical vs. st -orderings Intuition At any time, all outgoing edges that are not yet present in the current drawing, appear consecutively in the embedding. canonical ordering st -ordering

  27. Canonical vs. st -orderings Intuition At any time, all outgoing edges that are not yet present in the current drawing, appear consecutively in the embedding. canonical ordering st -ordering ◮ We need a special st -ordering in which they are consecutive like in a canonical ordering!

  28. Canonical vs. st -orderings Intuition At any time, all outgoing edges that are not yet present in the current drawing, appear consecutively in the embedding. canonical ordering st -ordering ◮ We need a special st -ordering in which they are consecutive like in a canonical ordering! → bitonic st-ordering

  29. Bitonic st -orderings Definition Given an st -ordering π : V �→ { 1 , . . . , | V |} with π ( v ) being the rank of v ∈ V in the ordering. v h v m v 1 u S ( u ) = { v 1 , . . . , v m } Successors of u ordered as in the embedding

  30. Bitonic st -orderings Definition Given an st -ordering π : V �→ { 1 , . . . , | V |} with π ( v ) being the rank of v ∈ V in the ordering. v h π v m v 1 u v 1 v h v m S ( u ) = { v 1 , . . . , v m } π ( v 1 ) < · · · < π ( v h ) > · · · > π ( v m ) Successors of u ordered An increasing and then as in the embedding decreasing sequence ⇒ bitonic

  31. Bitonic st -orderings Definition Given an st -ordering π : V �→ { 1 , . . . , | V |} with π ( v ) being the rank of v ∈ V in the ordering. v h π v m v 1 u v 1 v h v m S ( u ) = { v 1 , . . . , v m } π ( v 1 ) < · · · < π ( v h ) > · · · > π ( v m ) Successors of u ordered An increasing and then as in the embedding decreasing sequence ⇒ bitonic ∀ u ∈ V : S ( u ) is bitonic w.r.t. π ⇒ π is a bitonic st -ordering

  32. Bitonic st -orderings - Results Embedded planar st -graph G = ( V , E ) + Bitonic st -ordering π for G

  33. Bitonic st -orderings - Results Embedded planar st -graph G = ( V , E ) + Bitonic st -ordering π for G linear-time algorithm upward planar straight-line drawing within quadratic area ◮ The arXiv-version contains a full description and a listing.

  34. Bitonic st -orderings - Results Embedded planar st -graph G = ( V , E ) + Bitonic st -ordering π for G linear-time algorithm upward planar straight-line drawing within quadratic area ◮ The arXiv-version contains a full description and a listing. ◮ Some planar st -graphs require exponential area!

Recommend


More recommend