SLIDE 1
Drawing Planar Cubic 3-Connected Graphs with Few Segments: - - PowerPoint PPT Presentation
Drawing Planar Cubic 3-Connected Graphs with Few Segments: - - PowerPoint PPT Presentation
Drawing Planar Cubic 3-Connected Graphs with Few Segments: Algorithms & Experiments Alex Igamberdiev Wouter Meulemans Andr e Schulz Graph complexity Complexity of a graph G = ( V, E ) Usually | V | , | E | , etc. Graph complexity
SLIDE 2
SLIDE 3
Graph complexity
Complexity of a graph G = (V, E) Usually |V |, |E|, etc. Says nothing about how complex a drawing is
SLIDE 4
Visual complexity
Planar graphs Number of geometric objects for drawing
SLIDE 5
Visual complexity
Planar graphs Number of geometric objects for drawing
SLIDE 6
Visual complexity
Planar graphs Number of geometric objects for drawing 1
SLIDE 7
Visual complexity
Planar graphs Number of geometric objects for drawing 2
SLIDE 8
Visual complexity
Planar graphs Number of geometric objects for drawing 3
SLIDE 9
Visual complexity
Planar graphs Number of geometric objects for drawing 4
SLIDE 10
Visual complexity
Planar graphs Number of geometric objects for drawing 5
SLIDE 11
Visual complexity
Planar graphs Number of geometric objects for drawing 6
SLIDE 12
Visual complexity
Planar graphs Number of geometric objects for drawing 7
SLIDE 13
Visual complexity
Planar graphs Number of geometric objects for drawing 8
SLIDE 14
Visual complexity
Planar graphs Number of geometric objects for drawing 9
SLIDE 15
Visual complexity
Planar graphs Number of geometric objects for drawing 9 line segments for 18 edges
SLIDE 16
Known results
Lower Upper Segments Class Triangulation Tree 2- and 3-trees 2V 2V 3-connected 2V 5V/2 Planar 16V/3 − E 7V/3 2V 2V K/2 K/2
[Durocher, Mondal, 2014] [Durocher, Mondal, 2014] [Durocher et al, 2013] [Dujmovi´ c et al, 2007] [Dujmovi´ c et al, 2007]
SLIDE 17
Known results
Lower Upper Segments
- Circ. arcs
Class Triangulation Tree 2- and 3-trees 2V 2V 3-connected 2V 5V/2 Planar 16V/3 − E 7V/3 2V 2V K/2 K/2 3-trees 3-connected E/6 E/6 11E/18 2E/3
[Schulz, 2013] [Schulz, 2013] [Durocher, Mondal, 2014] [Durocher, Mondal, 2014] [Durocher et al, 2013] [Dujmovi´ c et al, 2007] [Dujmovi´ c et al, 2007]
SLIDE 18
Our results
Line-segment drawings Planar cubic 3-connected graphs
SLIDE 19
Our results
Line-segment drawings Two new algorithms n/2 + 3 segments Planar cubic 3-connected graphs [Mondal et al, 2013] Resolve flaw & improved
SLIDE 20
Our results
Line-segment drawings Two new algorithms n/2 + 3 segments Planar cubic 3-connected graphs [Mondal et al, 2013] Resolve flaw & improved Experimental comparison
SLIDE 21
Deconstruction algorithm
SLIDE 22
Deconstruction algorithm
Theorem. Every graph can be constructed maintaining a given outer face. Insertion with insertions from the triangular prism
SLIDE 23
Deconstruction algorithm
Algorithm
- 1. Draw triangular prism
SLIDE 24
Deconstruction algorithm
Algorithm
- 1. Draw triangular prism
- 2. Construct graph, maintaining drawing
Inner faces are convex No insertions on outer face
SLIDE 25
Deconstruction algorithm
Algorithm
- 1. Draw triangular prism
- 2. Construct graph, maintaining drawing
Insertion
SLIDE 26
Deconstruction algorithm
Algorithm
- 1. Draw triangular prism
- 2. Construct graph, maintaining drawing
SLIDE 27
Deconstruction algorithm
Algorithm
- 1. Draw triangular prism
- 2. Construct graph, maintaining drawing
SLIDE 28
Deconstruction algorithm
Algorithm
- 1. Draw triangular prism
- 2. Construct graph, maintaining drawing
Insertion
SLIDE 29
Deconstruction algorithm
Algorithm
- 1. Draw triangular prism
- 2. Construct graph, maintaining drawing
Insertion
SLIDE 30
Windmill algorithm
SLIDE 31
Windmill algorithm
Algorithm Pre: Post: inside of C drawn cycle C drawn convex
SLIDE 32
Windmill algorithm
Algorithm Pre: Post: inside of C drawn cycle C drawn convex
SLIDE 33
Windmill algorithm
Algorithm Pre: Post: inside of C drawn cycle C drawn convex
SLIDE 34
Windmill algorithm
Algorithm Pre: Post: inside of C drawn cycle C drawn convex
SLIDE 35
Windmill algorithm
Algorithm Pre: Post: inside of C drawn cycle C drawn convex
SLIDE 36
Windmill algorithm
Algorithm Pre: Post: inside of C drawn cycle C drawn convex
SLIDE 37
Windmill algorithm
Algorithm Pre: Post: inside of C drawn cycle C drawn convex
SLIDE 38
Windmill algorithm
Algorithm Pre: Post: inside of C drawn cycle C drawn convex
SLIDE 39
Postprocessing
Set of harmonic equations
[Aerts & Felsner, 2013 ]
u = λv + (1 − λ)w, for λ ∈ (0, 1) v w u
SLIDE 40
Postprocessing
Set of harmonic equations Solve for uniform edge length, i.e. λ = 1/2
[Aerts & Felsner, 2013 ]
u = λv + (1 − λ)w, for λ ∈ (0, 1) v w u v w u
SLIDE 41
[Mondal et al, 2013]
SLIDE 42
[Mondal et al, 2013]
“Grid” n/2 + 4 segments 6 slopes (n/2 + 1)2 grid
SLIDE 43
[Mondal et al, 2013]
“Grid” n/2 + 4 segments 6 slopes (n/2 + 1)2 grid Resolved flaw in algorithm
SLIDE 44
[Mondal et al, 2013]
“Grid” n/2 + 4 segments 6 slopes (n/2 + 1)2 grid “Min” n/2 + 3 segments 7 slopes Not on a grid Resolved flaw in algorithm
SLIDE 45
[Mondal et al, 2013]
“Grid” n/2 + 4 segments 6 slopes (n/2 + 1)2 grid “Min” n/2 + 3 segments 7 slopes Not on a grid Resolved flaw in algorithm Reduced to 6 slopes On a grid
SLIDE 46
Three algorithms
Deconstruction Windmill [Mondal et al, 2013]
SLIDE 47
Measuring layout quality
2000 graphs with 24 . . . 30 vertices Six measures for each graph-algorithm pair using plantri
SLIDE 48
Measuring layout quality
2000 graphs with 24 . . . 30 vertices Six measures for each graph-algorithm pair Angular resolution using plantri
SLIDE 49
Measuring layout quality
2000 graphs with 24 . . . 30 vertices Six measures for each graph-algorithm pair Angular resolution Edge length using plantri
SLIDE 50
Measuring layout quality
2000 graphs with 24 . . . 30 vertices Six measures for each graph-algorithm pair Angular resolution Edge length Face aspect ratio using plantri
SLIDE 51
Measuring layout quality
2000 graphs with 24 . . . 30 vertices Six measures for each graph-algorithm pair Angular resolution Edge length Face aspect ratio using plantri Average and worst-case
SLIDE 52
Angular resolution
DEC-ALT WIN MON-GRID MON-MIN
Average Minimum
π/2 π/2 DEC DEC-ALT WIN MON-GRID MON-MIN DEC
SLIDE 53
Edge length
DEC-ALT WIN MON-GRID MON-MIN
Average Maximum
100% 100% DEC DEC-ALT WIN MON-GRID MON-MIN DEC
SLIDE 54
Face aspect ratio
DEC-ALT WIN MON-GRID MON-MIN
Average Minimum
1 1 DEC DEC-ALT WIN MON-GRID MON-MIN DEC
SLIDE 55
Experiment summary
WIN DEC MON WIN DEC MON “Wins” “Wins” minus “Losses”
- 6
6
- 5 -4 -3 -2 -1 0
1 2 3 4 5
WIN DEC MON
SLIDE 56
Conclusion
Minimal visual complexity Two new algorithms Experiments Fixed and improved [Mondal et al, 2013] Best depends on measure
SLIDE 57