Pixel & Voxel Representations of Graphs Md. Jawaherul Alam - - PowerPoint PPT Presentation

pixel voxel representations of graphs
SMART_READER_LITE
LIVE PREVIEW

Pixel & Voxel Representations of Graphs Md. Jawaherul Alam - - PowerPoint PPT Presentation

Northridge, Los Angeles September 26, 2015 Graph Drawing Pixel & Voxel Representations of Graphs Md. Jawaherul Alam Tiomas Blsius Ignaz Rutuer Torsuen Ueckerdt Alexander Wolff . Motivation Build contact representation of graphs


slide-1
SLIDE 1

Pixel & Voxel Representations of Graphs

  • Md. Jawaherul Alam

Tiomas Bläsius Ignaz Rutuer Torsuen Ueckerdt Alexander Wolff Graph Drawing Northridge, Los Angeles – September 26, 2015

slide-2
SLIDE 2

.

Motivation

Build contact representation of graphs

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-3
SLIDE 3

.

Motivation

Build contact representation of graphs

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-4
SLIDE 4

.

Motivation

Build contact representation of graphs

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-5
SLIDE 5

.

Motivation

Build contact representation of graphs

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-6
SLIDE 6

.

Contact Representations

1 2 3 4 5 6 7 8 9 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 1 8 2 3 5 6 4 9 8 9 9 8 9 7 6 4 5 3 2 1 7 1 2 9 8 6 7 4 3 5

■ Vertices ⇒ Geometric objects (polygons, arcs, polyhedra) ■ Edges ⇒ Contacts

Goal: minimize polygonal complexity

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-7
SLIDE 7

.

Contact Representations

1 2 3 4 5 6 7 8 9 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 1 8 2 3 5 6 4 9 8 9 9 8 9 7 6 4 5 3 2 1 7 1 2 9 8 6 7 4 3 5

■ Vertices ⇒ Geometric objects (polygons, arcs, polyhedra) ■ Edges ⇒ Contacts

Goal: minimize polygonal complexity

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-8
SLIDE 8

.

Motivation

Build contact representation of graphs

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-9
SLIDE 9

.

Motivation

Build contact representation of graphs from unit blocks

How many unit blocks are required?

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-10
SLIDE 10

.

Motivation

Build contact representation of graphs from unit blocks

How many unit blocks are required?

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-11
SLIDE 11

.

Pixel and Voxel Representations

■ Building contact representation from unit blocks

Pixel in 2D, Voxel in 3D

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-12
SLIDE 12

.

Pixel and Voxel Representations

■ Building contact representation from unit blocks ■ Pixel in 2D, Voxel in 3D

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-13
SLIDE 13

.

Pixel and Voxel Representations

1 2 3 4 5

1 2 3 4 5

1 2 3 4 5

■ Vertices ⇒ Blobs (connected sets of pixels/voxels) ■ Edges ⇒ Adjacent (face-to-face) pixels/voxels in two blobs

Goal: minimize total number of pixels/voxels

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-14
SLIDE 14

.

Pixel and Voxel Representations

1 2 3 4 5

1 2 3 4 5

1 2 3 4 5

■ Vertices ⇒ Blobs (connected sets of pixels/voxels) ■ Edges ⇒ Adjacent (face-to-face) pixels/voxels in two blobs

Goal: minimize total number of pixels/voxels

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-15
SLIDE 15

.

Pixel Representations

1 2 3 4 5

1 2 3 4 5 ■ Vertices ⇒ Blobs (connected sets of pixels) ■ Edges ⇒ Adjacent (face-to-face) pixels in two blobs

Goal: minimize total number of pixels

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-16
SLIDE 16

.

Pixel Representations

1 2 3 4 5

1 2 3 4 5 1 2 3 4 5 ■ Vertices ⇒ Blobs (connected sets of pixels) ■ Edges ⇒ Adjacent (face-to-face) pixels in two blobs

Goal: minimize total number of pixels

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-17
SLIDE 17

.

Pixel Representations

1 2 3 4 5

1 2 3 4 5 1 2 3 4 5 ■ Vertices ⇒ Blobs (connected sets of pixels) ■ Edges ⇒ Adjacent (face-to-face) pixels in two blobs

Goal: minimize total number of pixels

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-18
SLIDE 18

.

Pixel Representations

1 2 3 4 5

1 2 3 4 5

33

1 2 3 4 5

23

■ Vertices ⇒ Blobs (connected sets of pixels) ■ Edges ⇒ Adjacent (face-to-face) pixels in two blobs

Goal: minimize total number of pixels

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-19
SLIDE 19

.

Pixel Representations

1 2 3 4 5

1 2 3 4 5

33

1 2 3 4 5

23

1 2 3 4 5

12

■ Vertices ⇒ Blobs (connected sets of pixels) ■ Edges ⇒ Adjacent (face-to-face) pixels in two blobs

Goal: minimize total number of pixels

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-20
SLIDE 20

.

Pixel Representations

1 2 3 4 5

1 2 3 4 5

33

1 2 3 4 5

23

1 2 3 4 5

12

■ Vertices ⇒ Blobs (connected sets of pixels) ■ Edges ⇒ Adjacent (face-to-face) pixels in two blobs

Goal: minimize total number of pixels

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-21
SLIDE 21

.

Voxel Representations

1 2 3 4 5

1 2 3 4 5

46

1 2 3 4 5

8

■ Vertices ⇒ Blobs (connected sets of voxel) ■ Edges ⇒ Adjacent (face-to-face) voxels in two blobs

Goal: minimize total number of voxels

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-22
SLIDE 22

.

Voxel Representations

1 2 3 4 5

1 2 3 4 5

46

1 2 3 4 5

8

■ Vertices ⇒ Blobs (connected sets of voxel) ■ Edges ⇒ Adjacent (face-to-face) voxels in two blobs

Goal: minimize total number of voxels

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-23
SLIDE 23

.

Related Work

Contact Representations

Point-contact with circles [Koebe, 1936] Point-contact with triangles [De Fraysseix et al., 1994] Side-contact with hexagons [Gansner et al., 2010], [Bonichon et al., 2010]

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-24
SLIDE 24

.

Related Work

Contact Representations

■ Point-contact with circles [Koebe, 1936] ■ Point-contact with triangles [De Fraysseix et al., 1994] ■ Side-contact with hexagons

[Gansner et al., 2010], [Bonichon et al., 2010]

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-25
SLIDE 25

.

Related Work

Contact Representations with Rectilinear Polygons

■ Contact with 8-sided rectilinear polygons:

[Yeap and Sarrafzadeh, 1993], [He, 1999], [Liao et al., 2003]

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-26
SLIDE 26

.

Related Work

Contact Representations in 3D

■ Contact representation of planar graphs with cuboids

[Thomassen, 1986], [Bremner et al., 2012]

■ Improper contact representation of planar graphs with cubes

[Felsner and Francis, 2011] Contact Representation of nonplanar graphs

1 8 7 6 4 5 3 2 9

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-27
SLIDE 27

.

Related Work

Contact Representations in 3D

■ Contact representation of planar graphs with cuboids

[Thomassen, 1986], [Bremner et al., 2012]

■ Improper contact representation of planar graphs with cubes

[Felsner and Francis, 2011]

■ Contact Representation of nonplanar graphs

1 8 7 6 4 5 3 2 9

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-28
SLIDE 28

.

Related Work

Vertex Contact Graphs of Paths on a Grid (VCPG)

■ Contact graphs of grid paths [Aerts and Felsner, 2014]

Mosaic Drawing

Contact of square or hexagonal tilies [Cano et al., 2015]

Same representation, different objective!

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-29
SLIDE 29

.

Related Work

Vertex Contact Graphs of Paths on a Grid (VCPG)

■ Contact graphs of grid paths [Aerts and Felsner, 2014]

Mosaic Drawing

■ Contact of square or hexagonal tilies [Cano et al., 2015]

Same representation, different objective!

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-30
SLIDE 30

.

Related Work

Vertex Contact Graphs of Paths on a Grid (VCPG)

■ Contact graphs of grid paths [Aerts and Felsner, 2014]

Mosaic Drawing

■ Contact of square or hexagonal tilies [Cano et al., 2015]

Same representation, different objective!

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-31
SLIDE 31

.

Our Result

Computational Complexity

■ Finding minimum-size representation is

NP-complete in both 2D and 3D Reduction from: Input: a planar max-degree-4 graph Find a grid drawing with unit edge lengths Min-Pixel-Representation Min-Voxel-Representation

1 2 3 4 5

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-32
SLIDE 32

.

Our Result

Computational Complexity

■ Finding minimum-size representation is

NP-complete in both 2D and 3D Reduction from: P Input: a planar max-degree-4 graph G Find a grid drawing with unit edge lengths P

Min-Pixel-Representation

Min-Voxel-Representation

1 2 3 4 5

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-33
SLIDE 33

.

Our Result

Computational Complexity

■ Finding minimum-size representation is

NP-complete in both 2D and 3D

Pixel Representation

■ For a k-outerplanar graph,

Θ(kn) pixels are necessary and sufficient

Voxel Representation

voxels are sufficient For a graph with treewidth , voxels are necessary and sufficient For a graph with genus , voxels are sufficient

1 2 3 4 5

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-34
SLIDE 34

.

Our Result

Computational Complexity

■ Finding minimum-size representation is

NP-complete in both 2D and 3D

Pixel Representation

■ For a k-outerplanar graph,

Θ(kn) pixels are necessary and sufficient

Voxel Representation

■ O(n2) voxels are sufficient

For a graph with treewidth , voxels are necessary and sufficient For a graph with genus , voxels are sufficient

1 2 3 4 5

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-35
SLIDE 35

.

Our Result

Computational Complexity

■ Finding minimum-size representation is

NP-complete in both 2D and 3D

Pixel Representation

■ For a k-outerplanar graph,

Θ(kn) pixels are necessary and sufficient

Voxel Representation

■ O(n2) voxels are sufficient ■ For a graph with treewidth τ,

Θ(n · τ) voxels are necessary and sufficient For a graph with genus , voxels are sufficient

1 2 3 4 5

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-36
SLIDE 36

.

Our Result

Computational Complexity

■ Finding minimum-size representation is

NP-complete in both 2D and 3D

Pixel Representation

■ For a k-outerplanar graph,

Θ(kn) pixels are necessary and sufficient

Voxel Representation

■ O(n2) voxels are sufficient ■ For a graph with treewidth τ,

Θ(n · τ) voxels are necessary and sufficient

■ For a graph with genus g,

O((g + 1)2n log2 n) voxels are sufficient

1 2 3 4 5

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-37
SLIDE 37

.

Orthogonal Drawing to Pixel/Voxel Representation

A graph G with n vertices, m edges, and an orthogonal drawing of total edge length l

⇒ Pixel/voxel representation of G with size 2l + n − m.

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-38
SLIDE 38

.

Orthogonal Drawing to Pixel/Voxel Representation

A graph G with n vertices, m edges, and an orthogonal drawing of total edge length l

⇒ Pixel/voxel representation of G with size 2l + n − m.

c a b d e

f

k g h i j

  • n

m

l q r t

w

v u p

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-39
SLIDE 39

.

Orthogonal Drawing to Pixel/Voxel Representation

A graph G with n vertices, m edges, and an orthogonal drawing of total edge length l

⇒ Pixel/voxel representation of G with size 2l + n − m.

c a b d e

f

k g h i j

  • n

m

l q r t

w

v u p

d b c a e

f

g h i j k l

m

n

  • p

q r t u v

w

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-40
SLIDE 40

.

Orthogonal Drawing to Pixel/Voxel Representation

A graph G with n vertices, m edges, and an orthogonal drawing of total edge length l

⇒ Pixel/voxel representation of G with size 2l + n − m.

c a b d e

f

k g h i j

  • n

m

l q r t

w

v u p

d b c a e

f

g h i j k l

m

n

  • p

q r t u v

w ⇒

d b c a e

f

g h i j k l

m

n

  • p

q r t u v

w

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-41
SLIDE 41

.

Orthogonal Drawing to Pixel/Voxel Representation

A graph G with n vertices, m edges, and an orthogonal drawing of total edge length l

⇒ Pixel/voxel representation of G with size 2l + n − m.

c a b d e

f

k g h i j

  • n

m

l q r t

w

v u p

d b c a e

f

g h i j k l

m

n

  • p

q r t u v

w ⇒

d b c a e

f

g h i j k l

m

n

  • p

q r t u v

w ⇒

d b c a e

f

g h i j k l

m

n

  • p

q r t u v

w

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-42
SLIDE 42

.

Orthogonal Drawing to Pixel/Voxel Representation

A graph G with n vertices, m edges, and an orthogonal drawing of total edge length l

⇒ Pixel/voxel representation of G with size 2l + n − m.

c a b d e

f

k g h i j

  • n

m

l q r t

w

v u p

d b c a e

f

g h i j k l

m

n

  • p

q r t u v

w ⇒

d b c a e

f

g h i j k l

m

n

  • p

q r t u v

w ⇒

d b c a e

f

g h i j k l

m

n

  • p

q r t u v

w

d b c a e

f

g h i j k l

m

n

  • p

q r t u v

w

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-43
SLIDE 43

.

Our Result

Computational Complexity

■ Finding minimum-size representation is

NP-complete in both 2D and 3D

Pixel Representation

■ For a k-outerplanar graph,

Θ(kn) pixels are necessary and sufficient

Voxel Representation

■ O(n2) voxels are sufficient ■ For a graph with treewidth τ,

Θ(n · τ) voxels are necessary and sufficient

■ For a graph with genus g,

O((g + 1)2n log2 n) voxels are sufficient

1 2 3 4 5

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-44
SLIDE 44

.

Our Result

Computational Complexity

■ Finding minimum-size representation is

NP-complete in both 2D and 3D

Pixel Representation

■ For a k-outerplanar graph,

Θ(kn) pixels are necessary and sufficient

Voxel Representation

■ O(n2) voxels are sufficient ■ For a graph with treewidth τ,

Θ(n · τ) voxels are necessary and sufficient

■ For a graph with genus g,

O((g + 1)2n log2 n) voxels are sufficient

1 2 3 4 5

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-45
SLIDE 45

.

Pixel Representations for k-Outerplanar Graphs

An outerplanar graph is a 1-Outerplanar graph. Removing outervertices from a

  • outerplanar graph yields
  • outerplanar graphs

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-46
SLIDE 46

.

Pixel Representations for k-Outerplanar Graphs

■ An outerplanar graph is a 1-Outerplanar graph. ■ Removing outervertices from a k-outerplanar graph yields

(k − 1)-outerplanar graphs

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-47
SLIDE 47

.

Pixel Representations for k-Outerplanar Graphs

■ An outerplanar graph is a 1-Outerplanar graph. ■ Removing outervertices from a k-outerplanar graph yields

(k − 1)-outerplanar graphs

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-48
SLIDE 48

.

Pixel Representations for k-Outerplanar Graphs

■ triangulate

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-49
SLIDE 49

.

Pixel Representations for k-Outerplanar Graphs

G4

■ G4 : k-outerplanar with max-degree 4

Maximum shortest path length to reach outerface = has an orthogonal drawing with total edge length [D. Dolev, T. Leighton, H. Trickey, 1984] has a pixel representation with size Representation for ?

– Contract edges – Delete extra edges

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-50
SLIDE 50

.

Pixel Representations for k-Outerplanar Graphs

G4

■ G4 : k-outerplanar with max-degree 4 ■ Maximum shortest path length to reach outerface = Θ(k)

has an orthogonal drawing with total edge length [D. Dolev, T. Leighton, H. Trickey, 1984] has a pixel representation with size Representation for ?

– Contract edges – Delete extra edges

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-51
SLIDE 51

.

Pixel Representations for k-Outerplanar Graphs

G4

■ G4 : k-outerplanar with max-degree 4 ■ Maximum shortest path length to reach outerface = Θ(k)

⇒ G4 has an orthogonal drawing with total edge length Θ(kn) [D. Dolev, T. Leighton, H. Trickey, 1984] has a pixel representation with size Representation for ?

– Contract edges – Delete extra edges

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-52
SLIDE 52

.

Pixel Representations for k-Outerplanar Graphs

G4

■ G4 : k-outerplanar with max-degree 4 ■ Maximum shortest path length to reach outerface = Θ(k)

⇒ G4 has an orthogonal drawing with total edge length Θ(kn) [D. Dolev, T. Leighton, H. Trickey, 1984] ⇒ G4 has a pixel representation with size Θ(kn) Representation for ?

– Contract edges – Delete extra edges

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-53
SLIDE 53

.

Pixel Representations for k-Outerplanar Graphs

G4

■ G4 : k-outerplanar with max-degree 4 ■ Maximum shortest path length to reach outerface = Θ(k)

⇒ G4 has an orthogonal drawing with total edge length Θ(kn) [D. Dolev, T. Leighton, H. Trickey, 1984] ⇒ G4 has a pixel representation with size Θ(kn)

■ Representation for G?

– Contract edges – Delete extra edges

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-54
SLIDE 54

.

Pixel Representations for k-Outerplanar Graphs

G4

■ G4 : k-outerplanar with max-degree 4 ■ Maximum shortest path length to reach outerface = Θ(k)

⇒ G4 has an orthogonal drawing with total edge length Θ(kn) [D. Dolev, T. Leighton, H. Trickey, 1984] ⇒ G4 has a pixel representation with size Θ(kn)

■ Representation for G?

– Contract edges – Delete extra edges

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-55
SLIDE 55

.

Pixel Representations for k-Outerplanar Graphs

G4

■ G4 : k-outerplanar with max-degree 4 ■ Maximum shortest path length to reach outerface = Θ(k)

⇒ G4 has an orthogonal drawing with total edge length Θ(kn) [D. Dolev, T. Leighton, H. Trickey, 1984] ⇒ G4 has a pixel representation with size Θ(kn)

■ Representation for G?

– Contract edges: identify blobs – Delete extra edges

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-56
SLIDE 56

.

Pixel Representations for k-Outerplanar Graphs

G4

■ G4 : k-outerplanar with max-degree 4 ■ Maximum shortest path length to reach outerface = Θ(k)

⇒ G4 has an orthogonal drawing with total edge length Θ(kn) [D. Dolev, T. Leighton, H. Trickey, 1984] ⇒ G4 has a pixel representation with size Θ(kn)

■ Representation for G?

– Contract edges: identify blobs – Delete extra edges: remove contact pixels

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-57
SLIDE 57

.

Pixel Representations for k-Outerplanar Graphs

Lower Bound

■ Any k-outerplane pixel representation has size at least 4k2 − 4k.

Some

  • outerplanar graphs require

pixels pixels are sometimes necessary and always sufficient Linear pixels for outerplanar, quadratic for planar graphs.

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-58
SLIDE 58

.

Pixel Representations for k-Outerplanar Graphs

Lower Bound

■ Any k-outerplane pixel representation has size at least 4k2 − 4k.

⇒ Some k-outerplanar graphs require Ω(kn) pixels pixels are sometimes necessary and always sufficient Linear pixels for outerplanar, quadratic for planar graphs.

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-59
SLIDE 59

.

Pixel Representations for k-Outerplanar Graphs

Lower Bound

■ Any k-outerplane pixel representation has size at least 4k2 − 4k.

⇒ Some k-outerplanar graphs require Ω(kn) pixels ⇒ Θ(kn) pixels are sometimes necessary and always sufficient Linear pixels for outerplanar, quadratic for planar graphs.

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-60
SLIDE 60

.

Pixel Representations for k-Outerplanar Graphs

Lower Bound

■ Any k-outerplane pixel representation has size at least 4k2 − 4k.

⇒ Some k-outerplanar graphs require Ω(kn) pixels ⇒ Θ(kn) pixels are sometimes necessary and always sufficient

■ Linear pixels for outerplanar, quadratic for planar graphs.

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-61
SLIDE 61

.

Our Result

Computational Complexity

■ Finding minimum-size representation is

NP-complete in both 2D and 3D

Pixel Representation

■ For a k-outerplanar graph,

Θ(kn) pixels are necessary and sufficient

Voxel Representation

■ O(n2) voxels are sufficient ■ For a graph with treewidth τ,

Θ(n · τ) voxels are necessary and sufficient

■ For a graph with genus g,

O((g + 1)2n log2 n) voxels are sufficient

1 2 3 4 5

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-62
SLIDE 62

.

Our Result

Computational Complexity

■ Finding minimum-size representation is

NP-complete in both 2D and 3D

Pixel Representation

■ For a k-outerplanar graph,

Θ(kn) pixels are necessary and sufficient

Voxel Representation

■ O(n2) voxels are sufficient ■ For a graph with treewidth τ,

Θ(n · τ) voxels are necessary and sufficient

■ For a graph with genus g,

O((g + 1)2n log2 n) voxels are sufficient

1 2 3 4 5

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-63
SLIDE 63

.

Voxel Representations for Graphs

1 2 3 5 4 6 7

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-64
SLIDE 64

.

Voxel Representations for Graphs

1 2 3 5 4 6 7

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-65
SLIDE 65

.

Voxel Representations for Graphs

1 2 3 5 4 6 7

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-66
SLIDE 66

.

Voxel Representations for Graphs

1 2 3 5 4 6 7

1 2 3 4 5 6 7 1 2 3 4 5 6 7 ■ Add diagonal voxels

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-67
SLIDE 67

.

Voxel Representations for Graphs

1 2 3 5 4 6 7

1 2 3 4 5 6 7 1 2 3 4 5 6 7 ■ Add diagonal voxels

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-68
SLIDE 68

.

Voxel Representations for Graphs

1 2 3 5 4 6 7

1 2 3 4 5 6 7 1 2 3 4 5 6 7 ■ Add diagonal voxels ■ Add voxels for edges

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-69
SLIDE 69

.

Voxel Representations for Graphs

1 2 3 5 4 6 7

1 2 3 4 5 6 7 1 2 3 4 5 6 7 ■ Add diagonal voxels ■ Add voxels for edges

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-70
SLIDE 70

.

Voxel Representations for Graphs

1 2 3 5 4 6 7

1 2 3 4 5 6 7 1 2 3 4 5 6 7 ■ Add diagonal voxels ■ Add voxels for edges

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-71
SLIDE 71

.

Voxel Representations for Graphs

1 2 3 5 4 6 7

1 2 3 4 5 6 7 1 2 3 4 5 6 7 ■ Add diagonal voxels ■ Add voxels for edges

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-72
SLIDE 72

.

Voxel Representations for Graphs

1 2 3 5 4 6 7

1 2 3 4 5 6 7 1 2 3 4 5 6 7 ■ Add diagonal voxels ■ Add voxels for edges

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-73
SLIDE 73

.

Voxel Representations for Graphs

1 2 3 5 4 6 7

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

O(n) O(n)

3

Better bound for constant treewidth or constant genus

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-74
SLIDE 74

.

Voxel Representations for Graphs

1 2 3 5 4 6 7

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

O(n) O(n)

3

Better bound for constant treewidth or constant genus

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-75
SLIDE 75

.

Our Result

Computational Complexity

■ Finding minimum-size representation is

NP-complete in both 2D and 3D

Pixel Representation

■ For a k-outerplanar graph,

Θ(kn) pixels are necessary and sufficient

Voxel Representation

■ O(n2) voxels are sufficient ■ For a graph with treewidth τ,

Θ(n · τ) voxels are necessary and sufficient

■ For a graph with genus g,

O((g + 1)2n log2 n) voxels are sufficient

1 2 3 4 5

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-76
SLIDE 76

.

Our Result

Computational Complexity

■ Finding minimum-size representation is

NP-complete in both 2D and 3D

Pixel Representation

■ For a k-outerplanar graph,

Θ(kn) pixels are necessary and sufficient

Voxel Representation

■ O(n2) voxels are sufficient ■ For a graph with treewidth τ,

Θ(n · τ) voxels are necessary and sufficient

■ For a graph with genus g,

O((g + 1)2n log2 n) voxels are sufficient

1 2 3 4 5

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-77
SLIDE 77

.

Voxel Representations for Genus-g Graphs

■ Make the maximum degree 4

Orthogonal drawing on the plane (with crossing) with total edge length [Leiserson, 1980]

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-78
SLIDE 78

.

Voxel Representations for Genus-g Graphs

■ Make the maximum degree 4

Orthogonal drawing on the plane (with crossing) with total edge length O((g + 1)2n log2 n) [Leiserson, 1980]

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-79
SLIDE 79

.

Voxel Representations for Genus-g Graphs

■ Make the maximum degree 4

Orthogonal drawing on the plane (with crossing) with total edge length O((g + 1)2n log2 n) [Leiserson, 1980]

■ Subdivide at bend points

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-80
SLIDE 80

.

Voxel Representations for Genus-g Graphs

■ Make the maximum degree 4

Orthogonal drawing on the plane (with crossing) with total edge length O((g + 1)2n log2 n) [Leiserson, 1980]

■ Subdivide at bend points ■ Split horizontal and vertical graphs

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-81
SLIDE 81

.

Voxel Representations for Genus-g Graphs

■ Make the maximum degree 4

Orthogonal drawing on the plane (with crossing) with total edge length O((g + 1)2n log2 n) [Leiserson, 1980]

■ Subdivide at bend points ■ Split horizontal and vertical graphs

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-82
SLIDE 82

.

Voxel Representations for Genus-g Graphs

■ Make the maximum degree 4

Orthogonal drawing on the plane (with crossing) with total edge length O((g + 1)2n log2 n) [Leiserson, 1980]

■ Subdivide at bend points ■ Split horizontal and vertical graphs ■ Combine horizontal and vertical graphs

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-83
SLIDE 83

.

Summary

Computational Complexity

■ Finding minimum-size representation is

NP-complete in both 2D and 3D

Pixel Representation

■ For a k-outerplanar graph, Θ(kn) pixels are

necessary and sufficient

Voxel Representation

■ O(n2) voxels are sufficient ■ For a graph with treewidth τ, Θ(n · τ) voxels

are necessary and sufficient

■ For a graph with genus g, O((g + 1)2n log2 n)

voxels are sufficient

1 2 3 4 5

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

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-84
SLIDE 84

.

Future Work and Open Problems

■ Approximation for minimum-size representation

– Approximation algorithm or hardness

Improve bound for voxel representation

– Does linear voxels suffice?

Tighten bound for constant genus graphs

– improve upper bound of ?

Hexagonal or other shapes for pixels/voxels?

Acknowledgements

– Giuseppe Liotta and Walter Didimo, University of Perugia

Organizers, 2014 Bertinoro Workshop on Graph Drawing

– Sue Whitesides, University of Victoria

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-85
SLIDE 85

.

Future Work and Open Problems

■ Approximation for minimum-size representation

– Approximation algorithm or hardness

■ Improve bound for voxel representation

– Does linear voxels suffice?

Tighten bound for constant genus graphs

– improve upper bound of ?

Hexagonal or other shapes for pixels/voxels?

Acknowledgements

– Giuseppe Liotta and Walter Didimo, University of Perugia

Organizers, 2014 Bertinoro Workshop on Graph Drawing

– Sue Whitesides, University of Victoria

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-86
SLIDE 86

.

Future Work and Open Problems

■ Approximation for minimum-size representation

– Approximation algorithm or hardness

■ Improve bound for voxel representation

– Does linear voxels suffice?

■ Tighten bound for constant genus graphs

– improve upper bound of O((g + 1)2n log2 n)?

Hexagonal or other shapes for pixels/voxels?

Acknowledgements

– Giuseppe Liotta and Walter Didimo, University of Perugia

Organizers, 2014 Bertinoro Workshop on Graph Drawing

– Sue Whitesides, University of Victoria

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-87
SLIDE 87

.

Future Work and Open Problems

■ Approximation for minimum-size representation

– Approximation algorithm or hardness

■ Improve bound for voxel representation

– Does linear voxels suffice?

■ Tighten bound for constant genus graphs

– improve upper bound of O((g + 1)2n log2 n)?

■ Hexagonal or other shapes for pixels/voxels?

Acknowledgements

– Giuseppe Liotta and Walter Didimo, University of Perugia

Organizers, 2014 Bertinoro Workshop on Graph Drawing

– Sue Whitesides, University of Victoria

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015

slide-88
SLIDE 88

.

Future Work and Open Problems

■ Approximation for minimum-size representation

– Approximation algorithm or hardness

■ Improve bound for voxel representation

– Does linear voxels suffice?

■ Tighten bound for constant genus graphs

– improve upper bound of O((g + 1)2n log2 n)?

■ Hexagonal or other shapes for pixels/voxels?

Acknowledgements

– Giuseppe Liotta and Walter Didimo, University of Perugia

Organizers, 2014 Bertinoro Workshop on Graph Drawing

– Sue Whitesides, University of Victoria

Pixel & Voxel Representations

  • Md. Jawaherul Alam

GD 2015