Date post: | 19-Dec-2015 |
Category: |
Documents |
View: | 212 times |
Download: | 0 times |
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, Bangladesh
COCOON 2010 July 19, 2010
1
23
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
9 segments 8 segments 6 segments
Minimum-Segment Convex DrawingsMinimum-Segment
7
8 9
4
56
3
21
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
Our Results
• Straight-line convex grid-drawings of cubic graphs
• (n/2 +1) x (n/2 +1) area
• Minimum segment
• 6 slopes, no bend
8
1
2 3 45
6
78
910
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
8
12 3 4 5
6
710911
12
13
14
Intuitive Idea
A Minimum-Segment Drawing
Vertices on the same segment have straight
corners
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
12 3 4 5
67 8
41
2 3 5
6
An Example
9 10
7 8
41
2 3 5
6
1
9 10
7 8
42 3 5
6
11
9 10
7 8
41
2 3 5
6
11 12
13
14
…
61
2 3 45
78
9
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.
An ExampleCanonical Decomposition
61
2 3 45
78
9
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 10
7 8
41
2 3 5
6…
Choose a partition at each step such that
the resulting graph is 2-connected
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
1
9 10
7 8
42 3 5
6
11
61
2 3 45
78
9
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}
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
1
9 10
7 8
42 3 5
6
11
61
2 3 45
78
9
10
11
12
13
14
If the left-end of the chain has a straight
corner, use slope +1
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
1
9 10
7 8
42 3 5
6
11
61
2 3 45
78
9
10
11
12
13
14
If the right-end of the chain has a straight corner, use slope -1
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
1
9 10
7 8
42 3 5
6
11
61
2 3 45
78
9
10
11
12
13
14
If the right-end is at the rightmost position
of the drawing, use the slope
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
1
9 10
7 8
42 3 5
6
11
61
2 3 45
78
9
10
11
12
13
14
In all other cases, use the slope of the
outer-edges.
Slope of (7,8) = Slope of (8,11)
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
How can we obtain a grid drawing?
Minimum-Segment Convex Drawings
9 10
7 8
41
2 3 5
6
11 12
13
14
Minimum-Segment Convex Grid Drawings
9 10
7 8
41
2 3 5
6
11 12
13
14
9 10
7 8
41
2 3 5
6
11 12
13
14
Now the rules of placing the partitions are not so simple!
12 3 4 5
6
7 8
41
2 3 5
6
An Example
61
2 3 45
78
9
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
12 3 4 5
6
7 8
41
2 3 5
6
Calculation of Grid Size
61
2 3 45
78
9
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
12 3 4 5
6
7 8
41
2 3 5
6
Calculation of Grid Size
61
2 3 45
78
9
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)
12 3 4 5
6
7 8
41
2 3 5
6
The number of slopes is six
61
2 3 45
78
9
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)
Thank You