Vertex Angle and Crossing Angle Resolution of Leveled Tree Drawings - - PowerPoint PPT Presentation

vertex angle and crossing angle resolution of leveled
SMART_READER_LITE
LIVE PREVIEW

Vertex Angle and Crossing Angle Resolution of Leveled Tree Drawings - - PowerPoint PPT Presentation

Vertex Angle and Crossing Angle Resolution of Leveled Tree Drawings Walter Didimo U Perugia IT Michael Kaufmann U T ubingen DE Giuseppe Liotta U Perugia IT Yoshio Okamoto JAIST JP Andreas Spillner U Greifswald DE Didimo,


slide-1
SLIDE 1

Vertex Angle and Crossing Angle Resolution of Leveled Tree Drawings

Walter Didimo U Perugia IT Michael Kaufmann U T¨ ubingen DE Giuseppe Liotta U Perugia IT Yoshio Okamoto JAIST JP Andreas Spillner U Greifswald DE

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-2
SLIDE 2

Drawing trees A tree is a connected graph without cycle Every tree can be drawn on the plane without edge crossing

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-3
SLIDE 3

Drawing leveled trees How about if the y-coordinates are fixed? Def.: Leveled tree A leveled tree is a pair (T, L) of

◮ a tree T and ◮ an injection L: V → R

A leveled drawing of (T, L) is a straight-line drawing of T s.t. for every vertex v ∈ T(V ) the y-coordinate of v is L(v)

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-4
SLIDE 4

Drawing leveled trees How about if the y-coordinates are fixed? Def.: Leveled tree A leveled tree is a pair (T, L) of

◮ a tree T and ◮ an injection L: V → R

A leveled drawing of (T, L) is a straight-line drawing of T s.t. for every vertex v ∈ T(V ) the y-coordinate of v is L(v)

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-5
SLIDE 5

A non-planar example of leveled trees Not all leveled trees can be drawn without edge crossing [Healy, Kuusik, Leipert ’04]

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-6
SLIDE 6

Even though edges cross, drawings should be nice Reflection on aesthetics

◮ Not every (leveled) graph can be drawn without edge crossing ◮ ∴ Imposing “planarity” is too restricted ◮ ∴ Need to live with crossings

Cognitive experiments (Huang ’07, Huang, Hong, Eades ’08)

◮ The readability of non-planar drawing is severely affected by

those crossings that form “sharp” angles

◮ Crossing angles of at least 70◦ have smaller impact

  • n human task performance

◮ ∴ A drawing with large crossing angles is desired

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-7
SLIDE 7

Example: K4 A crossing doesn’t harm the readability if it creates a large angle

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-8
SLIDE 8

Another example A crossing doesn’t harm the readability if it creates a large angle

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-9
SLIDE 9

Crossing angle resolution The crossing angle resolution of a drawing is ... the minimum angle formed by a crossing in the drawing

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-10
SLIDE 10

Crossing angle resolution The crossing angle resolution of a drawing is ... the minimum angle formed by a crossing in the drawing

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-11
SLIDE 11

Task Our task Given a (leveled) graph Find a (leveled) drawing with large crossing angle resolution

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-12
SLIDE 12

Result 1 Theorem 1 ∀ leveled tree (T, L) ∃ a leveled drawing of (T, L) with the crossing angle resolution ≥ 90◦ − ǫ for any ǫ > 0 Remark: ∃ a leveled tree (T, L) such that ∀ leveled drawing of (T, L): the Xing angle resol’n < 90◦

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-13
SLIDE 13

Algorithm for Theorem 1 (1/2) First step Given a leveled tree

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-14
SLIDE 14

Algorithm for Theorem 1 (1/2) First step We fix a root arbitrarily

r

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-15
SLIDE 15

Algorithm for Theorem 1 (1/2) First step Color an edge red if the parent is lower than the child, blue o/w

r

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-16
SLIDE 16

Algorithm for Theorem 1 (2/2) Second step We place red edges w/ slope 45◦ and blue edges w/ slope −45◦ from the root to the leaves (with a sufficiently small perturbation)

r r

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-17
SLIDE 17

Algorithm for Theorem 1 (2/2) Second step We place red edges w/ slope 45◦ and blue edges w/ slope −45◦ from the root to the leaves (with a sufficiently small perturbation)

r r

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-18
SLIDE 18

Algorithm for Theorem 1 (2/2) Second step We place red edges w/ slope 45◦ and blue edges w/ slope −45◦ from the root to the leaves (with a sufficiently small perturbation)

r r

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-19
SLIDE 19

Algorithm for Theorem 1 (2/2) Second step We place red edges w/ slope 45◦ and blue edges w/ slope −45◦ from the root to the leaves (with a sufficiently small perturbation)

r r

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-20
SLIDE 20

Algorithm for Theorem 1 (2/2) Second step We place red edges w/ slope 45◦ and blue edges w/ slope −45◦ from the root to the leaves (with a sufficiently small perturbation)

r r

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-21
SLIDE 21

Algorithm for Theorem 1: Validity What is the crossing angle resolution of such drawings? At least 90◦ − ǫ since

◮ a crossing occurs between a red edge and a blue edge, and ◮ their angle is 90◦ − ǫ

r r

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-22
SLIDE 22

Result 1 Theorem 1 ∀ leveled tree (T, L) ∃ a leveled drawing of (T, L) with the crossing angle resolution ≥ 90◦ − ǫ for any ǫ > 0 Remark: ∃ a leveled tree (T, L) such that ∀ leveled drawing of (T, L): the Xing angle resol’n < 90◦

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-23
SLIDE 23

Upper bound construction for Result 1 For this leveled tree, the crossing angle resol’n < 90◦

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-24
SLIDE 24

Alright, the crossing angle resolution is big, but... Our drawing is unsatisfactory!! Because of too small angles around vertices

r r

We need to take care of the angles around vertices, too!

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-25
SLIDE 25

Total angle resolution The total angle resolution of a drawing is ... the minimum angle formed by a crossing or two incident edges in the drawing

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-26
SLIDE 26

Total angle resolution The total angle resolution of a drawing is ... the minimum angle formed by a crossing or two incident edges in the drawing

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-27
SLIDE 27

Task Our task Given a (leveled) graph Find a (leveled) drawing with large total angle resolution

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-28
SLIDE 28

Result 2 Theorem 2 ∀ leveled tree (T, L) ∃ a leveled drawing of (T, L) with the total angle resolution ≥ π/d − ǫ for any ǫ > 0 where d = max degree of T Remark: ∃ a leveled tree (T, L) such that ∀ leveled drawing of (T, L) the total angle resol’n = π/d

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-29
SLIDE 29

Algorithm for Theorem 2 (1/2) First step Given a leveled tree

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-30
SLIDE 30

Algorithm for Theorem 2 (1/2) First step We fix a proper d-edge-coloring arbitrarily

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-31
SLIDE 31

Algorithm for Theorem 2 (2/2) Second step Consider the 2d-gon w/ long diagonals colored by d colors

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-32
SLIDE 32

Algorithm for Theorem 2 (2/2) Second step Draw the edges of T with the slope of the same-color diagonals

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-33
SLIDE 33

Algorithm for Theorem 2: Validity What is the total angle resolution of such drawings? At least π/d − ǫ since

◮ a crossing occurs between edges with different colors, and ◮ their angle is at least π/d − ǫ

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-34
SLIDE 34

Result 2 Theorem 2 ∀ leveled tree (T, L) ∃ a leveled drawing of (T, L) with the total angle resolution ≥ π/d − ǫ for any ǫ > 0 where d = max degree of T Remark: ∃ a leveled tree (T, L) such that ∀ leveled drawing of (T, L) the total angle resol’n = π/d

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-35
SLIDE 35

Upper bound construction for Result 2 For this leveled tree, the total angle resol’n ≤ π/d (when d = 3)

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings

slide-36
SLIDE 36

Summary

◮ Tight bounds of

◮ the crossing angle resolution (π/2 − ǫ) ◮ the total angle resolution (π/d − ǫ)

in leveled tree drawings

◮ Question: The crossing angle resolution when d = 3? ◮ Question: What about leveled planar graphs?

[Thank you]

Didimo, Kaufmann, Liotta, Okamoto, Spillner Angle resolution of leveled tree drawings