Non-aligned drawings of planar graphs Therese Biedl 1 , Claire - - PowerPoint PPT Presentation

non aligned drawings of planar graphs
SMART_READER_LITE
LIVE PREVIEW

Non-aligned drawings of planar graphs Therese Biedl 1 , Claire - - PowerPoint PPT Presentation

Non-aligned drawings of planar graphs Therese Biedl 1 , Claire Pennarun 2 1 University of Waterloo 2 LaBRI, Univ. Bordeaux Graph Drawing September 19, 2016 Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 1 / 11 N


slide-1
SLIDE 1

Non-aligned drawings of planar graphs

Therese Biedl1, Claire Pennarun2

1University of Waterloo 2LaBRI, Univ. Bordeaux

Graph Drawing September 19, 2016

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 1 / 11

slide-2
SLIDE 2

Non-aligned drawings

Drawing graphs with placement of vertices allowing fast operations

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 2 / 11

slide-3
SLIDE 3

Non-aligned drawings

Drawing graphs with placement of vertices allowing fast operations A non-aligned drawing of a graph with n vertices is:

  • n an f (n)×g(n) grid, for some functions f and g

vertices at the intersection of the grid no two vertices on the same row/column

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 2 / 11

slide-4
SLIDE 4

Non-aligned drawings

Drawing graphs with placement of vertices allowing fast operations A non-aligned drawing of a graph with n vertices is:

  • n an f (n)×g(n) grid, for some functions f and g

vertices at the intersection of the grid no two vertices on the same row/column

n n n n n n n n n n n n n n n n n n n n n n n

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 2 / 11

slide-5
SLIDE 5

Non-aligned drawings

Drawing graphs with placement of vertices allowing fast operations A non-aligned drawing of a graph with n vertices is:

  • n an f (n)×g(n) grid, for some functions f and g

vertices at the intersection of the grid no two vertices on the same row/column

n n n n n n n n n n n n n n n n n n n n n n n

Here: maximal planar graphs (faces are triangles) → planar drawings

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 2 / 11

slide-6
SLIDE 6

Non-aligned drawings

Drawing graphs with placement of vertices allowing fast operations A non-aligned drawing of a graph with n vertices is:

  • n an f (n)×g(n) grid, for some functions f and g

vertices at the intersection of the grid no two vertices on the same row/column

n n n n n n n n n n n n n n n n n n n n n n n

Here: maximal planar graphs (faces are triangles) → planar drawings Edges: "straight-line" or "bend" (on the grid points)

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 2 / 11

slide-7
SLIDE 7

Our results

Every planar graph with n vertices has a: non-aligned drawing in a n×n-grid with ≤ 2n−5

3

bends.

(only 1 if the graph is 4-connected)

non-aligned straight-line drawing in an n×O(n3) grid non-aligned straight-line drawing in an O(n2)×O(n2) grid

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 3 / 11

slide-8
SLIDE 8

Our results

Every planar graph with n vertices has a: non-aligned drawing in a n×n-grid with ≤ 2n−5

3

bends.

(only 1 if the graph is 4-connected)

non-aligned straight-line drawing in an n×O(n3) grid non-aligned straight-line drawing in an O(n2)×O(n2) grid

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 3 / 11

slide-9
SLIDE 9

Non-aligned drawings on an n×n grid

= "Rook drawings": introduced by [Auber et al. ’15]

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 4 / 11

slide-10
SLIDE 10

Non-aligned drawings on an n×n grid

= "Rook drawings": introduced by [Auber et al. ’15] But not all planar graphs have a straight-line non-aligned drawing on the minimal grid!

n n n n n n

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 4 / 11

slide-11
SLIDE 11

Non-aligned drawings on an n×n grid

= "Rook drawings": introduced by [Auber et al. ’15] But not all planar graphs have a straight-line non-aligned drawing on the minimal grid!

n n n n n n

[Auber et al. ’15] Every planar graph with n vertices has a non-aligned

drawing with at most n−3 bends.

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 4 / 11

slide-12
SLIDE 12

Non-aligned drawings on an n×n grid

= "Rook drawings": introduced by [Auber et al. ’15] But not all planar graphs have a straight-line non-aligned drawing on the minimal grid!

n n n n n n

[Auber et al. ’15] Every planar graph with n vertices has a non-aligned

drawing with at most n−3 bends. Our algorithm: work on the separating triangles

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 4 / 11

slide-13
SLIDE 13

Non-aligned drawings on an n×n grid

= "Rook drawings": introduced by [Auber et al. ’15] But not all planar graphs have a straight-line non-aligned drawing on the minimal grid!

n n n n n n

[Auber et al. ’15] Every planar graph with n vertices has a non-aligned

drawing with at most n−3 bends. Our algorithm: work on the separating triangles

[Auber et al. ’15] [Biedl, Pennarun ’16]

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 4 / 11

slide-14
SLIDE 14

Non-aligned drawings on an n×n grid

[Biedl et al. ’99] If G is 4-connected, and e is an outerface edge, then G−e has a non-aligned drawing on an n×n grid.

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 5 / 11

slide-15
SLIDE 15

Non-aligned drawings on an n×n grid

[Biedl et al. ’99] If G is 4-connected, and e is an outerface edge, then G−e has a non-aligned drawing on an n×n grid. Filled triangle: triangle with some vertices inside (= separating triangles + outerface)

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 5 / 11

slide-16
SLIDE 16

Non-aligned drawings on an n×n grid

[Biedl et al. ’99] If G is 4-connected, and e is an outerface edge, then G−e has a non-aligned drawing on an n×n grid. Filled triangle: triangle with some vertices inside (= separating triangles + outerface) A set of edges E is a filled-hitting set of G if every filled triangle of G has an edge within E.

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 5 / 11

slide-17
SLIDE 17

Non-aligned drawings on an n×n grid

[Biedl et al. ’99] If G is 4-connected, and e is an outerface edge, then G−e has a non-aligned drawing on an n×n grid. Filled triangle: triangle with some vertices inside (= separating triangles + outerface) A set of edges E is a filled-hitting set of G if every filled triangle of G has an edge within E. E\e :

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 5 / 11

slide-18
SLIDE 18

Non-aligned drawings on an n×n grid

[Biedl et al. ’99] If G is 4-connected, and e is an outerface edge, then G−e has a non-aligned drawing on an n×n grid. Filled triangle: triangle with some vertices inside (= separating triangles + outerface) A set of edges E is a filled-hitting set of G if every filled triangle of G has an edge within E. E\e : subdivision,

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 5 / 11

slide-19
SLIDE 19

Non-aligned drawings on an n×n grid

[Biedl et al. ’99] If G is 4-connected, and e is an outerface edge, then G−e has a non-aligned drawing on an n×n grid. Filled triangle: triangle with some vertices inside (= separating triangles + outerface) A set of edges E is a filled-hitting set of G if every filled triangle of G has an edge within E. E\e : subdivision, re-triangulation

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 5 / 11

slide-20
SLIDE 20

Non-aligned drawings on an n×n grid

Non-aligned drawing of G−e

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 6 / 11

slide-21
SLIDE 21

Non-aligned drawings on an n×n grid

Non-aligned drawing of G−e Keep relative orders, original vertices on a n×n grid and grey

  • nes inbetween

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 6 / 11

slide-22
SLIDE 22

Non-aligned drawings on an n×n grid

Non-aligned drawing of G−e Keep relative orders, original vertices on a n×n grid and grey

  • nes inbetween

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 6 / 11

slide-23
SLIDE 23

Non-aligned drawings on an n×n grid

Non-aligned drawing of G−e Keep relative orders, original vertices on a n×n grid and grey

  • nes inbetween

One can move grey vertices to adjacent grid points and maintain a non-aligned drawing.

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 6 / 11

slide-24
SLIDE 24

Non-aligned drawings on an n×n grid

Non-aligned drawing of G−e Keep relative orders, original vertices on a n×n grid and grey

  • nes inbetween

One can move grey vertices to adjacent grid points and maintain a non-aligned drawing.

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 6 / 11

slide-25
SLIDE 25

Non-aligned drawings on an n×n grid

Non-aligned drawing of G−e Keep relative orders, original vertices on a n×n grid and grey

  • nes inbetween

One can move grey vertices to adjacent grid points and maintain a non-aligned drawing. Replace grey vertices with bends and add e with a bend

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 6 / 11

slide-26
SLIDE 26

Non-aligned drawings on an n×n grid

Non-aligned drawing of G−e Keep relative orders, original vertices on a n×n grid and grey

  • nes inbetween

One can move grey vertices to adjacent grid points and maintain a non-aligned drawing. Replace grey vertices with bends and add e with a bend Every planar graph with n vertices has a non-aligned drawing in an n×n grid with #

  • independent filled-hitting set
  • bends.

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 6 / 11

slide-27
SLIDE 27

Non-aligned drawings on an n×n grid

Non-aligned drawing of G−e Keep relative orders, original vertices on a n×n grid and grey

  • nes inbetween

One can move grey vertices to adjacent grid points and maintain a non-aligned drawing. Replace grey vertices with bends and add e with a bend Every planar graph with n vertices has a non-aligned drawing in an n×n grid with at most 2n−5

3

bends.

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 6 / 11

slide-28
SLIDE 28

Our results

Every planar graph with n vertices has a: non-aligned drawing in a n×n-grid with ≤ 2n−5

3

bends.

(only 1 if the graph is 4-connected)

non-aligned straight-line drawing in an n×O(n3) grid non-aligned straight-line drawing in an O(n2)×O(n2) grid

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 7 / 11

slide-29
SLIDE 29

Non-aligned drawing on an n×O(n3)-grid

A canonical ordering of a maximal planar graph is a vertex order v1 ···vn such that the outerface is [v1,v2,vn] and for any 3 ≤ k ≤ n, Gk = G[v1 ···vk] is 2-connected [de Fraysseix, Pach, Pollack ’90]. each vk: predecessors forming an interval on the outerface of Gk−1 cℓ: left-most predecessor

vk cℓ Gk−1

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 8 / 11

slide-30
SLIDE 30

Non-aligned drawing on an n×O(n3)-grid

Topological order (based on canonical): x(1) < x(3) < x(5) < x(6) < x(4) < x(7) < x(2)

1 2 3 5 6 4 7 7 6 5 4 3 2 1

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 9 / 11

slide-31
SLIDE 31

Non-aligned drawing on an n×O(n3)-grid

Topological order (based on canonical): x(1) < x(3) < x(5) < x(6) < x(4) < x(7) < x(2) Place v1 at (1,2), v3 at (x(v3),3), v2 at (n,1)

→ G3

1 2 3 5 6 4 7 7 6 5 4 3 2 1

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 9 / 11

slide-32
SLIDE 32

Non-aligned drawing on an n×O(n3)-grid

Topological order (based on canonical): x(1) < x(3) < x(5) < x(6) < x(4) < x(7) < x(2) Place v1 at (1,2), v3 at (x(v3),3), v2 at (n,1)

→ G3

Suppose Gk = G[v1 ···vk] is drawn.

1 2 3 5 6 4 7 7 6 5 4 3 2 1

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 9 / 11

slide-33
SLIDE 33

Non-aligned drawing on an n×O(n3)-grid

Topological order (based on canonical): x(1) < x(3) < x(5) < x(6) < x(4) < x(7) < x(2) Place v1 at (1,2), v3 at (x(v3),3), v2 at (n,1)

→ G3

Suppose Gk = G[v1 ···vk] is drawn. y(vk+1) is the smallest possible such that: vk+1 can see all its precedessors the edge from cℓ has positive slope the row {y = y(vk+1)} is empty

1 2 3 5 6 4 7 7 6 5 4 3 2 1

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 9 / 11

slide-34
SLIDE 34

Non-aligned drawing on an n×O(n3)-grid

Topological order (based on canonical): x(1) < x(3) < x(5) < x(6) < x(4) < x(7) < x(2) Place v1 at (1,2), v3 at (x(v3),3), v2 at (n,1)

→ G3

Suppose Gk = G[v1 ···vk] is drawn. y(vk+1) is the smallest possible such that: vk+1 can see all its precedessors the edge from cℓ has positive slope the row {y = y(vk+1)} is empty

1 2 3 5 6 4 7 7 6 5 4 3 2 1

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 9 / 11

slide-35
SLIDE 35

Non-aligned drawing on an n×O(n3)-grid

Topological order (based on canonical): x(1) < x(3) < x(5) < x(6) < x(4) < x(7) < x(2) Place v1 at (1,2), v3 at (x(v3),3), v2 at (n,1)

→ G3

Suppose Gk = G[v1 ···vk] is drawn. y(vk+1) is the smallest possible such that: vk+1 can see all its precedessors the edge from cℓ has positive slope the row {y = y(vk+1)} is empty

1 2 3 5 6 4 7 7 6 5 4 3 2 1

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 9 / 11

slide-36
SLIDE 36

Non-aligned drawing on an n×O(n3)-grid

Topological order (based on canonical): x(1) < x(3) < x(5) < x(6) < x(4) < x(7) < x(2) Place v1 at (1,2), v3 at (x(v3),3), v2 at (n,1)

→ G3

Suppose Gk = G[v1 ···vk] is drawn. y(vk+1) is the smallest possible such that: vk+1 can see all its precedessors the edge from cℓ has positive slope the row {y = y(vk+1)} is empty

1 2 3 5 6 4 7 7 6 5 4 3 2 1

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 9 / 11

slide-37
SLIDE 37

Non-aligned drawing on an n×O(n3)-grid

Topological order (based on canonical): x(1) < x(3) < x(5) < x(6) < x(4) < x(7) < x(2) Place v1 at (1,2), v3 at (x(v3),3), v2 at (n,1)

→ G3

Suppose Gk = G[v1 ···vk] is drawn. y(vk+1) is the smallest possible such that: vk+1 can see all its precedessors the edge from cℓ has positive slope the row {y = y(vk+1)} is empty

1 2 3 5 6 4 7 7 6 5 4 3 2 1

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 9 / 11

slide-38
SLIDE 38

Non-aligned drawing on an n×O(n3)-grid

Topological order (based on canonical): x(1) < x(3) < x(5) < x(6) < x(4) < x(7) < x(2) Place v1 at (1,2), v3 at (x(v3),3), v2 at (n,1)

→ G3

Suppose Gk = G[v1 ···vk] is drawn. y(vk+1) is the smallest possible such that: vk+1 can see all its precedessors the edge from cℓ has positive slope the row {y = y(vk+1)} is empty

1 2 3 5 6 4 7 7 6 5 4 3 2 1

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 9 / 11

slide-39
SLIDE 39

Non-aligned drawing on an n×O(n3)-grid

Left-steepness of a vertex: s(v) =

  • y(v)−y(cℓ)

x(v)−x(cℓ)

  • Claire Pennarun

Non-aligned drawings of planar graphs September 19, 2016 10 / 11

slide-40
SLIDE 40

Non-aligned drawing on an n×O(n3)-grid

Left-steepness of a vertex: s(v) =

  • y(v)−y(cℓ)

x(v)−x(cℓ)

  • In the non-aligned drawing of Gk, s(vk) ≤ (k−1)(k−2)

2

for k ≥ 3.

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 10 / 11

slide-41
SLIDE 41

Non-aligned drawing on an n×O(n3)-grid

Left-steepness of a vertex: s(v) =

  • y(v)−y(cℓ)

x(v)−x(cℓ)

  • In the non-aligned drawing of Gk, s(vk) ≤ (k−1)(k−2)

2

for k ≥ 3. s(vn) ≤ 1

2(n−1)(n−2)

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 10 / 11

slide-42
SLIDE 42

Non-aligned drawing on an n×O(n3)-grid

Left-steepness of a vertex: s(v) =

  • y(v)−y(cℓ)

x(v)−x(cℓ)

  • In the non-aligned drawing of Gk, s(vk) ≤ (k−1)(k−2)

2

for k ≥ 3. s(vn) ≤ 1

2(n−1)(n−2)

cℓ = v1

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 10 / 11

slide-43
SLIDE 43

Non-aligned drawing on an n×O(n3)-grid

Left-steepness of a vertex: s(v) =

  • y(v)−y(cℓ)

x(v)−x(cℓ)

  • In the non-aligned drawing of Gk, s(vk) ≤ (k−1)(k−2)

2

for k ≥ 3. s(vn) ≤ 1

2(n−1)(n−2)

cℓ = v1 → x(vn)−x(v1) ≤ n−2 and y(v1) = 2

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 10 / 11

slide-44
SLIDE 44

Non-aligned drawing on an n×O(n3)-grid

Left-steepness of a vertex: s(v) =

  • y(v)−y(cℓ)

x(v)−x(cℓ)

  • In the non-aligned drawing of Gk, s(vk) ≤ (k−1)(k−2)

2

for k ≥ 3. s(vn) ≤ 1

2(n−1)(n−2)

cℓ = v1 → x(vn)−x(v1) ≤ n−2 and y(v1) = 2 y(vn) ≤ 2+ 1

2(n−1)(n−2)2

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 10 / 11

slide-45
SLIDE 45

Non-aligned drawing on an n×O(n3)-grid

Left-steepness of a vertex: s(v) =

  • y(v)−y(cℓ)

x(v)−x(cℓ)

  • In the non-aligned drawing of Gk, s(vk) ≤ (k−1)(k−2)

2

for k ≥ 3. s(vn) ≤ 1

2(n−1)(n−2)

cℓ = v1 → x(vn)−x(v1) ≤ n−2 and y(v1) = 2 y(vn) ≤ 2+ 1

2(n−1)(n−2)2 ← Maximal height

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 10 / 11

slide-46
SLIDE 46

Non-aligned drawing on an n×O(n3)-grid

Left-steepness of a vertex: s(v) =

  • y(v)−y(cℓ)

x(v)−x(cℓ)

  • In the non-aligned drawing of Gk, s(vk) ≤ (k−1)(k−2)

2

for k ≥ 3. s(vn) ≤ 1

2(n−1)(n−2)

cℓ = v1 → x(vn)−x(v1) ≤ n−2 and y(v1) = 2 y(vn) ≤ 2+ 1

2(n−1)(n−2)2 ← Maximal height

Every planar graph with n vertices has a non-aligned straight-line drawing in an n×

  • 2+ 1

2(n−1)(n−2)2

grid.

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 10 / 11

slide-47
SLIDE 47

And now?

Open questions: Find a planar graph needing more than one bend There is likely a better bound on the n×O(n3) result (equation on the slopes is not tight) Find a planar graph needing n columns and more than n+1 rows

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 11 / 11

slide-48
SLIDE 48

And now?

Open questions: Find a planar graph needing more than one bend There is likely a better bound on the n×O(n3) result (equation on the slopes is not tight) Find a planar graph needing n columns and more than n+1 rows

Thank you!

Claire Pennarun Non-aligned drawings of planar graphs September 19, 2016 11 / 11