Contact representations of planar graphs · 2020-02-24 · optimal for a certain energy criterion...

8
Tutte’s barycenter method Outer vertices v 1 ,v 2 ,v 3 are fixed at given positions. Each inner vertex is at the barycenter of its neighbours. x u = 1 deg(u) X v N (u) x v y u = 1 deg(u) X v N (u) y u for u 6= v 1 ,v 2 ,v 3 v N (u) (p u - p v )=0 This drawing exists and is unique. It minimizes the energy P = e (e) 2 = uv E (x u - x v ) 2 +(y u - y v ) 2 under the constraint of fixed x 1 ,x 2 ,x 3 ,y 1 ,y 2 ,y 3 . Also a spring embedding where edge e is a spring of energy (e) 2 . for u 6= v 1 ,v 2 ,v 3

Transcript of Contact representations of planar graphs · 2020-02-24 · optimal for a certain energy criterion...

Page 1: Contact representations of planar graphs · 2020-02-24 · optimal for a certain energy criterion The less good: ... Contact representations of planar graphs. General formulation

Tutte’s barycenter method• Outer vertices v1, v2, v3 are fixed at given positions.

• Each inner vertex is at the barycenter of its neighbours.

xu =1

deg(u)

∑v∈N(u)

xv yu =1

deg(u)

∑v∈N(u)

yu for u 6= v1, v2, v3

⇔∑

v∈N(u)(pu − pv) = 0

• This drawing exists and is unique. It minimizes the energy

P =∑

e `(e)2 =

∑uv∈E(xu − xv)

2 + (yu − yv)2

under the constraint of fixed x1, x2, x3, y1, y2, y3.

• Also a spring embedding where edge e is a spring of energy `(e)2.

for u 6= v1, v2, v3

Page 2: Contact representations of planar graphs · 2020-02-24 · optimal for a certain energy criterion The less good: ... Contact representations of planar graphs. General formulation

Advantages/disadvantagesThe good!• displays the symmetries nicely• easy to implement (solve a linear system)• optimal for a certain energy criterion

The less good:• a bit expensive computationally (solve linear system of size |V |)• some very dense clusters (edges of length exponentially small in |V |)

Page 3: Contact representations of planar graphs · 2020-02-24 · optimal for a certain energy criterion The less good: ... Contact representations of planar graphs. General formulation

Contact representations of planar graphs

Page 4: Contact representations of planar graphs · 2020-02-24 · optimal for a certain energy criterion The less good: ... Contact representations of planar graphs. General formulation

General formulation

Contact configuration = set of “shapes” that can not overlapbut can have contacts

yields a planar map (when no

Problem: given a set of allowed shapes, which planar graphs can be

)

realized as a contact configuration? Is such a representation unique?

Page 5: Contact representations of planar graphs · 2020-02-24 · optimal for a certain energy criterion The less good: ... Contact representations of planar graphs. General formulation

Circle packing[Koebe’36, Andreev’70, Thurston’85]:Every planar triangulation admits a contact representation by disks.The representation is unique if the 3 outer disks have prescribed radius.

Remark: The stereographic projection maps circles tocircles (considering lines as circle of radius +∞).

Hence one can lift to a circle packing on the sphere.

There is a unique representation where the centre ofeach sphere is the barycenter of its contact points.

Page 6: Contact representations of planar graphs · 2020-02-24 · optimal for a certain energy criterion The less good: ... Contact representations of planar graphs. General formulation

Axis-aligned rectangles in a box

• The rectangles form a tiling. The contact-map is the dual map.

• This is a triangulation of the 4-gon, where every 3-cycle is facial.

Is it possible to obtain a representation for any such triangulation?

Page 7: Contact representations of planar graphs · 2020-02-24 · optimal for a certain energy criterion The less good: ... Contact representations of planar graphs. General formulation

Deja-vu

dual for vertical edges dual for horizontal edges

N

W E

S

Page 8: Contact representations of planar graphs · 2020-02-24 · optimal for a certain energy criterion The less good: ... Contact representations of planar graphs. General formulation

Transversal structures

N

W E

S

For T a triangulation of the 4-gon, a transversal structure is a partitionof the inner edges into two transversal s-t digraphs.

characterized by local conditions:

inner vertex

T admits a transversal structure if and only if every 3-cycle is facial.