23
Minimum-Segment Convex Drawings of 3-Connected Cubic Plane Graphs Sudip Biswas Debajyoti Mondal Rahnuma Islam Nishat Md. Saidur Rahman Graph Drawing and Information Visualization Laboratory Department of Computer Science and Engineering Bangladesh University of Engineering and Technology (BUET) Dhaka – 1000, Bangladesh COCOON 2010 July 19, 2010

Minimum-Segment Convex Drawings of 3-Connected Cubic Plane Graphs

  • Upload
    davis

  • View
    43

  • Download
    0

Embed Size (px)

DESCRIPTION

Minimum-Segment Convex Drawings of 3-Connected Cubic Plane Graphs. Sudip Biswas Debajyoti Mondal Rahnuma Islam Nishat Md. Saidur Rahman. Graph Drawing and Information Visualization Laboratory Department of Computer Science and Engineering - PowerPoint PPT Presentation

Citation preview

Page 1: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

Minimum-Segment Convex Drawings of 3-Connected Cubic

Plane GraphsSudip Biswas

Debajyoti MondalRahnuma Islam Nishat

Md. Saidur Rahman

Graph Drawing and Information Visualization LaboratoryDepartment of Computer Science and Engineering

Bangladesh University of Engineering and Technology (BUET)

Dhaka – 1000, BangladeshCOCOON 2010 July 19, 2010

Page 2: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

1

2 3

467

9

8

5

1

2 3

4

67

9 8

5

1

2 3

46

7

9 8

5

Minimum-Segment Convex DrawingsConvex Drawing

Page 3: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

9 segments 8 segments 6 segments

Minimum-Segment Convex DrawingsMinimum-Segment

7

8 9

4

56

3

21

Page 4: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

Previous Results

M. Chrobak et al. [1997]Straight-line convex grid drawings of 3-connected plane graphs

(n-2) x (n-2) area

G. Kant [1994]Orthogonal grid drawings of 3-connected cubic plane graphs

(n/2 +1)x(n/2 +1) area

Dujmovic et al. [2006]Straight-line drawings ofcubic graphs with few segments

(n-2) segments

Keszegh et al. [2008] Straight-line drawings with few slopes

5 slopes andat most 3 bends

Page 5: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

Our Results

• Straight-line convex grid-drawings of cubic graphs

• (n/2 +1) x (n/2 +1) area

• Minimum segment

• 6 slopes, no bend

Page 6: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

8

1

2 3 4 5

6

78

9 10

11

1213

14

12 3 4 5

6

7 10911

12

13

14

Straight-line convex grid-drawings of cubic graphs

Input: 3-Connected Plane Cubic Graph G

Output: Minimum-Segment Drawing of G

Page 7: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

8

12 3 4 5

6

710911

12

13

14

Intuitive Idea

A Minimum-Segment Drawing

Vertices on the same segment have straight

corners

Page 8: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

8

12 3 4 5

6

710911

12

13

14

Intuitive Idea

A Minimum-Segment Drawing

number of segment decreases after

ensuring a straight corner at a vertex

Lets try to ensure a straight corner at each vertex in the

drawing

Page 9: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

12 3 4 5

67 8

41

2 3 5

6

An Example

9 107 8

41

2 3 5

6

19 10

7 8

42 3 5

6

11

9 107 8

41

2 3 5

6

11 12

13

14

61

2 3 45

7 89

10

11

12

13

14

How do we choose the set of vertices

at each step?

The number of straight corners is (n-3) and this is the

maximum

The number of segments is the

minimum.

Page 10: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

An ExampleCanonical Decomposition

61

2 3 45

7 89

10

11

12

13

14

G. Kant: Every 3-connected plane graph has a canonical decomposition which can be obtained in linear time.

12 3 4 5

67 8

41

2 3 5

6

9 107 8

41

2 3 5

6…

Choose a partition at each step such that

the resulting graph is 2-connected

Page 11: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

12 3 4 5

67 8

41

2 3 5

6

Let’s Impose some rules

9 10

7 8

41

2 3 5

6

19 10

7 8

42 3 5

6

11

61

2 3 45

7 89

10

11

12

13

14

Chain

3 is the left-end of the chain {7,8}

4 is the right-end of the chain {7,8}

(3,7) is the left-edge of {7,8}

(4,8) is the right-edge of {7,8}

Page 12: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

12 3 4 5

67 8

41

2 3 5

6

Let’s Impose some rules

9 10

7 8

41

2 3 5

6

19 10

7 8

42 3 5

6

11

61

2 3 45

7 89

10

11

12

13

14

If the left-end of the chain has a straight

corner, use slope +1

Page 13: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

12 3 4 5

67 8

41

2 3 5

6

Let’s Impose some rules

9 10

7 8

41

2 3 5

6

19 10

7 8

42 3 5

6

11

61

2 3 45

7 89

10

11

12

13

14

If the right-end of the chain has a straight corner, use slope -1

Page 14: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

12 3 4 5

67 8

41

2 3 5

6

Let’s Impose some rules

9 10

7 8

41

2 3 5

6

19 10

7 8

42 3 5

6

11

61

2 3 45

7 89

10

11

12

13

14

If the right-end is at the rightmost position

of the drawing, use the slope

Page 15: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

12 3 4 5

67 8

41

2 3 5

6

Let’s Impose some rules

9 10

7 8

41

2 3 5

6

19 10

7 8

42 3 5

6

11

61

2 3 45

7 89

10

11

12

13

14

In all other cases, use the slope of the

outer-edges.

Slope of (7,8) = Slope of (8,11)

Page 16: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

If the right-end of the chain has a straight corner, use slope -1

If the left-end of the chain has a straight

corner, use slope +1

If the right-end is at the rightmost position

of the drawing, use the slope

In all other cases, use the slope of the

outer-edges.

These four rules works for minimum-segment convex drawings!

Minimum-Segment Convex Drawings

Page 17: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

How can we obtain a grid drawing?

Minimum-Segment Convex Drawings

9 107 8

41

2 3 5

6

11 12

13

14

Page 18: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

Minimum-Segment Convex Grid Drawings

9 107 8

41

2 3 5

6

11 12

13

14

9 107 8

41

2 3 5

6

11 12

13

14

Now the rules of placing the partitions are not so simple!

Page 19: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

12 3 4 5

6

7 8

41

2 3 5

6

An Example

61

2 3 45

7 89

10

11

12

13

14

11

12 3 4 5

6

7 8 9 10

12 3 4 5

6

7 8 910

11

12

13

149 10

12 3 4 5

6

7 8

Page 20: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

12 3 4 5

6

7 8

41

2 3 5

6

Calculation of Grid Size

61

2 3 45

7 89

10

11

12

13

14

11

12 3 4 5

6

7 8 9 10

12 3 4 5

6

7 8 910

11

12

13

149 10

12 3 4 5

6

7 8

|V1| = 6Width= 6

|V2| = 2Width= 6+1= 7Width= |V1| + (|V2|-1)

|V3| = 2Width= 7+1=8Width= |V1| + (|V2|-1) + (|V3|-1)

Width = |V1| + ∑ (|Vk|-1) = |V1| + ∑ (|Vk|-1) = n -∑ k 1 = n/2+1

Page 21: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

12 3 4 5

6

7 8

41

2 3 5

6

Calculation of Grid Size

61

2 3 45

7 89

10

11

12

13

14

11

12 3 4 5

6

7 8 9 10

12 3 4 5

6

7 8 910

11

12

13

149 10

12 3 4 5

6

7 8

n/2

n/2

Area of the drawing = (n/2+1) x (n/2+1)

Page 22: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

12 3 4 5

6

7 8

41

2 3 5

6

The number of slopes is six

61

2 3 45

7 89

10

11

12

13

14

11

12 3 4 5

6

7 8 9 10

12 3 4 5

6

7 8 910

11

12

13

149 10

12 3 4 5

6

7 8

0o

45o

(1,14)

(1, 6)

(5, 6)

Page 23: Minimum-Segment  Convex Drawings of 3-Connected Cubic Plane Graphs

Thank You