• Aucun résultat trouvé

Periodic planar straight-frame graph drawings with polynomial resolution

N/A
N/A
Protected

Academic year: 2022

Partager "Periodic planar straight-frame graph drawings with polynomial resolution"

Copied!
35
0
0

Texte intégral

(1)

Periodic planar straight-frame graph drawings with polynomial resolution

Luca Castelli Aleardi, Eric Fusy, Anatolii Kostrygin

(2)

Introduction

(3)

Planar straight-line drawings

0 1 1 1 1 1 0 0 1

1 0 1 0 0 0 1 1 1

1 1 0 1 0 0 1 0 1

1 0 1 0 1 0 1 1 0

1 0 0 1 0 1 0 1 1

1 0 0 0 1 0 0 0 1

0 1 1 1 0 0 0 1 0

0 1 0 1 1 0 1 0 1

1 1 0 0 1 1 0 1 0

Adjacency matrix of graph G

(4)

Planar straight-line drawings

1 4 3 2

5 6

7 8 9

0 1 1 1 1 1 0 0 1

1 0 1 0 0 0 1 1 1

1 1 0 1 0 0 1 0 1

1 0 1 0 1 0 1 1 0

1 0 0 1 0 1 0 1 1

1 0 0 0 1 0 0 0 1

0 1 1 1 0 0 0 1 0

0 1 0 1 1 0 1 0 1

1 1 0 0 1 1 0 1 0

Adjacency matrix of graph G

Combinatorial embedding ( = we know faces of G)

(5)

Planar straight-line drawings

1 4 3 2

5 6

7 8 9

0 1 1 1 1 1 0 0 1

1 0 1 0 0 0 1 1 1

1 1 0 1 0 0 1 0 1

1 0 1 0 1 0 1 1 0

1 0 0 1 0 1 0 1 1

1 0 0 0 1 0 0 0 1

0 1 1 1 0 0 0 1 0

0 1 0 1 1 0 1 0 1

1 1 0 0 1 1 0 1 0

Adjacency matrix of graph G

Combinatorial embedding Planar straight-line drawing

( = we know faces of G) f : V (G) R2

(6)

Planar straight-line drawings

1 4 3 2

5 6

7 8 9

0 1 1 1 1 1 0 0 1

1 0 1 0 0 0 1 1 1

1 1 0 1 0 0 1 0 1

1 0 1 0 1 0 1 1 0

1 0 0 1 0 1 0 1 1

1 0 0 0 1 0 0 0 1

0 1 1 1 0 0 0 1 0

0 1 0 1 1 0 1 0 1

1 1 0 0 1 1 0 1 0

Adjacency matrix of graph G

Combinatorial embedding Planar straight-line drawing Drawing on a grid

( = we know faces of G) f : V (G) R2 f : V(G) N2

(7)

Planar straight-line drawings

1 4 3 2

5 6

7 8 9

0 1 1 1 1 1 0 0 1

1 0 1 0 0 0 1 1 1

1 1 0 1 0 0 1 0 1

1 0 1 0 1 0 1 1 0

1 0 0 1 0 1 0 1 1

1 0 0 0 1 0 0 0 1

0 1 1 1 0 0 0 1 0

0 1 0 1 1 0 1 0 1

1 1 0 0 1 1 0 1 0

Adjacency matrix of graph G

Combinatorial embedding Planar straight-line drawing Drawing on a grid

Existence :

• Wagner ’36, Fary ’48 Algorithmes :

• Tutte ’63

• Fraysseix et al. ’89

• Schnyder’90

( = we know faces of G) f : V (G) R2 f : V(G) N2

(8)

Drawing on the torus

Cut the torus along 2 non- contractible cycles with a common point.

(9)

Drawing on the torus

⇒ The drawing should be

x- and y-periodic.

Cut the torus along 2 non- contractible cycles with a common point.

(10)

Drawing on the torus

[Duncan et al., 2009]

The drawing should be x- and y-periodic.

Bad example :

• not periodic;

• vertices on the sides are not identified.

Cut the torus along 2 non- contractible cycles with a common point.

1 2

3

3 4

4

5 5

5 5

7 6

6 7

(a) (b)

(11)

Some definitions

k-scheme triangulation is a quas-triangulation s.t.

• k marked outer vertices are called corners;

• each path of the outer face contour between two consecutive corners is chordless.

1)

(12)

Some definitions

k-scheme triangulation is a quas-triangulation s.t.

• k marked outer vertices are called corners;

• each path of the outer face contour between two consecutive corners is chordless.

G is a 4-scheme triangulation.

A straight-frame drawing of G is

• a planar straight-line drawing of G;

• the outer face is an axis-aligned rectangle;

• its corners are the corners of G.

1)

2)

(13)

Previous result. Straight-frame drawing.

k-scheme triangulation is a quas-triangulation s.t.

• k marked outer vertices are called corners;

• each path of the outer face contour between two consecutive corners is chordless.

G is a 4-scheme triangulation.

A straight-frame drawing of G is

• a planar straight-line drawing of G;

• the outer face is an axis-aligned rectangle;

• its corners are the corners of G.

1)

2)

Theorem 1 [Duncan et al.] Each 4-scheme triangulation with n vertices admits a straight-frame drawing on a grid of size O(n2×n).

(14)

Some definitions. Periodic case.

Denote the paths between consecutive corners by S1, . . . , Sk. Then a 4-scheme triangulation satisfy- ing |S1| = |S3| and |S2| = |S4| is called balanced.

1)

(15)

Some definitions. Periodic case.

Denote the paths between consecutive corners by S1, . . . , Sk. Then a 4-scheme triangulation satisfy- ing |S1| = |S3| and |S2| = |S4| is called balanced.

1)

2) Its straight-frame drawing is periodic if

• the abscissas of vertices of the same rank along S1 and S3 coincide;

• the ordinates of vertices of the same rank along S2 and S4 coincide.

(16)

Our result. Periodic case.

Denote the paths between consecutive corners by S1, . . . , Sk. Then a 4-scheme triangulation satisfy- ing |S1| = |S3| and |S2| = |S4| is called balanced.

Theorem 2 Each balanced 4-scheme-triangulation admits a peri- odic straight- frame drawing on a (regular) grid of size O(n4 × n4).

1)

2) Its straight-frame drawing is periodic if

• the abscissas of vertices of the same rank along S1 and S3 coincide;

• the ordinates of vertices of the same rank along S2 and S4 coincide.

Accepted on the LATIN2014

(17)

Sketch of the proof of the theorem 2

Let’s draw this balanced 4-scheme triangulation . . .

(18)

Step 1. Analysis of cords

• Suppose that there is no ”vertical” cord.

• Then there exists a closest to the upper-side cordless path.

• Each vertex of the path is on the dist. 1 from the upper-side.

• Let’s cut the graph along this path.

(19)

Step 2. Bottom part

• Need to take care only about left and right sides.

• Upper side should not be straight.

• Can find a river from upper to bottom side.

• Let’s cut along this river.

Bottom-left Bottom-right

(20)

Step 3. Bottom-left part

• Turn by 90.

• Find a canonical order.

1 2 3

4 6 5

710 8 9 11 12 13 14

(21)

Step 3. Bottom-left part

• Turn by 90.

• Find a canonical order.

• Draw with incremental algorithm.

1 2 3

4 6 5

710 8 9 11 12 13 14

1 2 3

(22)

Step 3. Bottom-left part

• Turn by 90.

• Find a canonical order.

• Draw with incremental algorithm.

• Remember the final distances between bottom vertices.

1 2 3

4 6 5

710 8 9 11 12 13 14

1 2 3

4

(23)

Step 3. Bottom-left part

• Turn by 90.

• Find a canonical order.

• Draw with incremental algorithm.

1 2 3

4 6 5

710 8 9 11 12 13 14

1 2 3

4 5

(24)

Step 3. Bottom-left part

• Turn by 90.

• Find a canonical order.

• Draw with incremental algorithm.

1 2 3

4 6 5

710 8 9 11 12 13 14

1 2 3

4 5 6

(25)

Step 3. Bottom-left part

• Turn by 90.

• Find a canonical order.

• Draw with incremental algorithm.

1 2 3

4

5 6

7 8

10 9

11 12 13 14

1 2 3

54 10

7

9

(26)

Step 3. Bottom-left part

• Turn by 90.

• Find a canonical order.

• Draw with incremental algorithm.

• Remember the distanced between vertices on the bottom side.

1 2 3

4 7 5

10 9

11 12 13 14

2

7 9

11

12 13

13

1 3

(27)

Step 4. Whole bottom part

• Repeat the step 3 for right part.

• Place the parts one opposite other.

(28)

Step 4. Whole bottom part

• Repeat the step 3 for right part.

• Place the parts one opposite other.

• Adjust sizes.

• Fill a draw with edges of the river.

(29)

Step 5. Decomposition of upper part

• Cut to triangles

• Find an edge adjacent to the bottom river

(30)

Step 5. Decomposition of upper part

• Cut to triangles

• Find an edge adjacent to the bottom river

• Decompose the rest into 3 parts

(31)

Step 6. All together

• Draw every sub-part of upper part.

(32)

Step 6. All together

• Draw every sub-part of upper part.

• Paste all together.

(33)

Other applications

(34)

Geodesic spherical drawing

Algorithm:

partition the faces of the initial graph;

dessiner draw every rectangle according their lateral sides;

construct a pyramid from the rectangles;

place a small copy in the center of sphere;

project its edges on the sphere.

vN vN

S2

vN vN

G M

(35)

An arbitrary polygon

• Suppose we can draw an arbitrary quadrangle, it’s size of grid is P (n)

• Using divide and conquer strategy we can draw any k-gon

• Size of grid will be proportional to O(P (n)log k).

Références

Documents relatifs

Two combinatorial concepts for planar triangula- tions turn out to be the basis of many classical straight-line drawing algorithms: the canonical ordering (a special ordering of

For a cylindric triangulation G, a periodic straight-line drawing of G of width w and height h is a crossing-free straight-line drawing (edges are drawn as segments, two edges can

We extend the incremental straight-line drawing algorithm of de Fraysseix, Pach and Pollack [2] (in the triangulated case) and of Kant [3] (in the 3-connected case). The case

Our algorithm is the first to achieve two important aesthetic criteria: the drawing fits in a straight rectangular frame, and the grid area is polynomial, precisely the grid size is

Unité de recherche INRIA Lorraine, Technopôle de Nancy-Brabois, Campus scientifique, 615 rue du Jardin Botanique, BP 101, 54600 VILLERS LÈS NANCY. Unité de recherche INRIA

Les résultats de cette étude réalisée chez des volontaires sains soumis à une déplétion sodée, montrent que les effets prolongés de l’aliskiren, en monothérapie ou

L’échographie rénale n’est pas dispensable pour la confirmation du diagnostic mais surtout nécessaire pour voire le retentissement de cette intoxication sur cet

Input saturation is at the origin of nonlinear phenomena such as multiple isolated equilibria or isolated periodic trajectories which might occur even in systems of low dimension..