106
Michael A. Bekos, Henry F¨ orster , Michael Kaufmann On Smooth Orthogonal and Octilinear Drawings: Relations, Complexity and Kandinsky Drawings Wilhelm-Schickard-Institut f¨ ur Informatik Universit¨ at T¨ ubingen, Germany

Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Michael A. Bekos, Henry Forster, Michael Kaufmann

On Smooth Orthogonal and Octilinear Drawings:Relations, Complexity and Kandinsky Drawings

Wilhelm-Schickard-Institut fur InformatikUniversitat Tubingen, Germany

Page 2: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Smooth Orthogonal and Octilinear Drawings

OrthogonalComplexity 3

Extensions of the orthogonal graph drawing model

Page 3: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Smooth Orthogonal and Octilinear Drawings

OrthogonalComplexity 3

Smooth OrthogonalComplexity 2

Extensions of the orthogonal graph drawing model

Smooth orthogonal: Clarity of orthogonal layouts+ Aesthetics of Lombardi drawings

Page 4: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Smooth Orthogonal and Octilinear Drawings

OrthogonalComplexity 3

Smooth OrthogonalComplexity 2

Extensions of the orthogonal graph drawing model

Smooth orthogonal: Clarity of orthogonal layouts+ Aesthetics of Lombardi drawings

Page 5: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Smooth Orthogonal and Octilinear Drawings

OrthogonalComplexity 3

Smooth OrthogonalComplexity 2

Extensions of the orthogonal graph drawing model

Smooth orthogonal: Clarity of orthogonal layouts+ Aesthetics of Lombardi drawings

Page 6: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Smooth Orthogonal and Octilinear Drawings

OrthogonalComplexity 3

Smooth OrthogonalComplexity 2

OctilinearComplexity 2

Extensions of the orthogonal graph drawing model

Smooth orthogonal: Clarity of orthogonal layouts+ Aesthetics of Lombardi drawings

Octilinear: Generalization to max-degree 8+ Metromap applications

Page 7: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Known Results

Relations

Complexity

Kandinsky Drawings

Page 8: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Known Results

RelationsNot all max-degree 4 graphs admit bendless smoothorthogonal/octilinear drawings

Complexity

Kandinsky Drawings

1 bend per edge suffices for max-degree 4 graphs in both models

[Bekos et al. 2013, Bekos et al. 2017]

[Alam et al. 2014, Bekos et al. 2015]

Page 9: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Known Results

RelationsNot all max-degree 4 graphs admit bendless smoothorthogonal/octilinear drawings

ComplexityBendless octilinear drawing problem NP-hard on max-degree 8graphs

Kandinsky Drawings

1 bend per edge suffices for max-degree 4 graphs in both models

[Bekos et al. 2013, Bekos et al. 2017]

[Alam et al. 2014, Bekos et al. 2015]

[Nollenburg 2005]

Page 10: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Known Results

RelationsNot all max-degree 4 graphs admit bendless smoothorthogonal/octilinear drawings

ComplexityBendless octilinear drawing problem NP-hard on max-degree 8graphs

Kandinsky DrawingsBook embedding inspired approach for smooth orthogonal model(< n edges with edges of complexity 2)

1 bend per edge suffices for max-degree 4 graphs in both models

[Bekos et al. 2013, Bekos et al. 2017]

[Alam et al. 2014, Bekos et al. 2015]

[Nollenburg 2005]

[Bekos et al. 2013, Cardinal et al. 2015]

Page 11: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Our Contribution

Relations

Complexity

Kandinsky Drawings

Page 12: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Our Contribution

Relations

Classes of bendless smooth orthogonal drawable (SC1) andoctilinear drawable (8C1) graphs are incomparable

Complexity

Kandinsky Drawings

Page 13: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Our Contribution

Relations

Classes of bendless smooth orthogonal drawable (SC1) andoctilinear drawable (8C1) graphs are incomparable

Complexity

Deciding if a smooth orthogonal or octilinear representation isrealizable is NP-hard on max-degree 4 graphs

Kandinsky Drawings

Page 14: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Our Contribution

Relations

Classes of bendless smooth orthogonal drawable (SC1) andoctilinear drawable (8C1) graphs are incomparable

Complexity

Deciding if a smooth orthogonal or octilinear representation isrealizable is NP-hard on max-degree 4 graphs

Kandinsky Drawings

Smooth orthogonal: Alternative approach producing aestheticallymore pleasing drawings

Octilinear: First results

Page 15: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

Bendless smooth orthogonal and octilineardrawings require same endpoint positioning

Page 16: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

Bendless smooth orthogonal and octilineardrawings require same endpoint positioning

Idea: Replace arcs with diagonals and vice versa

Page 17: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

Bendless smooth orthogonal and octilineardrawings require same endpoint positioning

Idea: Replace arcs with diagonals and vice versa

Page 18: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

Bendless smooth orthogonal and octilineardrawings require same endpoint positioning

Idea: Replace arcs with diagonals and vice versa

But: We must retain planarity and port constraints!

Page 19: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

Bendless smooth orthogonal and octilineardrawings require same endpoint positioning

Idea: Replace arcs with diagonals and vice versa

But: We must retain planarity and port constraints!

Page 20: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

Bendless smooth orthogonal and octilineardrawings require same endpoint positioning

Idea: Replace arcs with diagonals and vice versa

But: We must retain planarity and port constraints!

Page 21: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

8C3 = max-degree 8 planar8C2

SC2 = max-degree 4 planar8C1

SC1

8Ck = Graphs drawable with octilinear complexity k

SCk = Graphs drawable with smooth orthogonal complexity k

X

X

XX

??

?

Page 22: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

8C3 = max-degree 8 planar8C2

SC2 = max-degree 4 planar8C1

SC1

8Ck = Graphs drawable with octilinear complexity k

SCk = Graphs drawable with smooth orthogonal complexity k

X

X

XX

?

??

Page 23: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Intersection of SC1 and 8C1

Infinitely large graph family drawable with both styles:

Page 24: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Intersection of SC1 and 8C1

Infinitely large graph family drawable with both styles:

Family is 4-regular → density does not divide classes

Page 25: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

8C3 = max-degree 8 planar8C2

SC2 = max-degree 4 planar8C1

SC1

8Ck = Graphs drawable with octilinear complexity k

SCk = Graphs drawable with smooth orthogonal complexity k

X

X

XX

?

??

Page 26: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

8C3 = max-degree 8 planar8C2

SC2 = max-degree 4 planar8C1

SC1

8Ck = Graphs drawable with octilinear complexity k

SCk = Graphs drawable with smooth orthogonal complexity k

X

X

XX

?X

?

Page 27: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

8C3 = max-degree 8 planar8C2

SC2 = max-degree 4 planar8C1

SC1

8Ck = Graphs drawable with octilinear complexity k

SCk = Graphs drawable with smooth orthogonal complexity k

X

X

XX

?

?X

Page 28: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

SC1 but not 8C1

Infinitely large 4-regular graph family:

Page 29: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

SC1 but not 8C1

Infinitely large 4-regular graph family:

Two end componentsdo not admit bendlessoctilinear drawings

Page 30: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

SC1 but not 8C1

End components only have one embedding

Page 31: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

SC1 but not 8C1

End components only have one embedding

Properties of this embedding:

Page 32: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

SC1 but not 8C1

End components only have one embedding

Properties of this embedding:

Each face has length at most 5

Page 33: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

SC1 but not 8C1

End components only have one embedding

Properties of this embedding:

Each face has length at most 5

All but one vertex on the outerface must support two ports to theinterior of the drawing

Page 34: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

SC1 but not 8C1

If we try to realize such a drawing, we find, that it is notpossible to close the outerface

Page 35: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

SC1 but not 8C1

If we try to realize such a drawing, we find, that it is notpossible to close the outerface

Page 36: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

SC1 but not 8C1

If we try to realize such a drawing, we find, that it is notpossible to close the outerface

Page 37: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

SC1 but not 8C1

If we try to realize such a drawing, we find, that it is notpossible to close the outerface

Page 38: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

SC1 but not 8C1

If we try to realize such a drawing, we find, that it is notpossible to close the outerface

Page 39: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

8C3 = max-degree 8 planar8C2

SC2 = max-degree 4 planar

SC1

8C1

8Ck = Graphs drawable with octilinear complexity k

SCk = Graphs drawable with smooth orthogonal complexity k

X

X

XX

?

?X

Page 40: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

8C3 = max-degree 8 planar8C2

SC2 = max-degree 4 planar

SC1

8C1

8Ck = Graphs drawable with octilinear complexity k

SCk = Graphs drawable with smooth orthogonal complexity k

X

X

XX

?X

X

Page 41: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Relations

8C3 = max-degree 8 planar8C2

SC2 = max-degree 4 planar

SC1

8C1

8Ck = Graphs drawable with octilinear complexity k

SCk = Graphs drawable with smooth orthogonal complexity k

X

X

XX

X?

X

Page 42: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

8C1 but not SC1

Infinitely large 4-regular graph family:

Page 43: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

8C1 but not SC1

Infinitely large 4-regular graph family:

Multiple copies of a basic component in a cycle

Page 44: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

8C1 but not SC1

Infinitely large 4-regular graph family:

Multiple copies of a basic component in a cycle2 separation pairs that allow flips

Page 45: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

8C1 but not SC1

Infinitely large 4-regular graph family:

Multiple copies of a basic component in a cycle

All but one copy must have the outerface as shown in the figure

2 separation pairs that allow flips

Page 46: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

8C1 but not SC1

Infinitely large 4-regular graph family:

Multiple copies of a basic component in a cycle

All but one copy must have the outerface as shown in the figure

In order to connect to other copies: 2 free ports at red vertices

2 separation pairs that allow flips

Page 47: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

8C1 but not SC1

Infinitely large 4-regular graph family:

Multiple copies of a basic component in a cycle

All but one copy must have the outerface as shown in the figure

In order to connect to other copies: 2 free ports at red vertices

2 separation pairs that allow flips

Possible embeddings are isomorphic to each other

Page 48: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

8C1 but not SC1

Infinitely large 4-regular graph family:

Multiple copies of a basic component in a cycle

All but one copy must have the outerface as shown in the figure

In order to connect to other copies: 2 free ports at red vertices

2 separation pairs that allow flips

Case analysis: No smooth orthogonal drawing existsPossible embeddings are isomorphic to each other

Page 49: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Complexity

Input: angles between edges and edge segments along edges

Smooth Orthogonal Representation Realizability

Page 50: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Complexity

Input: angles between edges and edge segments along edges

Output: drawing realizing input constraints

Smooth Orthogonal Representation Realizability

Page 51: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Complexity

Input: angles between edges and edge segments along edges

Output: drawing realizing input constraints

Smooth Orthogonal Representation Realizability

Equivalent to last step of TSM [Tamassia 1987]

Page 52: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Complexity

Reduction from 3-SAT

Input: angles between edges and edge segments along edges

Output: drawing realizing input constraints

Smooth Orthogonal Representation Realizability

Equivalent to last step of TSM [Tamassia 1987]

Page 53: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Complexity

General Ideas:

Encode information in edge lengths

Reduction from 3-SAT

Input: angles between edges and edge segments along edges

Output: drawing realizing input constraints

Smooth Orthogonal Representation Realizability

Equivalent to last step of TSM [Tamassia 1987]

Page 54: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Complexity

General Ideas:

Encode information in edge lengths

Propagate along rectangular faces

Reduction from 3-SAT

Input: angles between edges and edge segments along edges

Output: drawing realizing input constraints

Smooth Orthogonal Representation Realizability

Equivalent to last step of TSM [Tamassia 1987]

Page 55: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Complexity

General Ideas:

Encode information in edge lengths

Propagate along rectangular faces

Change direction with triangular faces

Reduction from 3-SAT

Input: angles between edges and edge segments along edges

Output: drawing realizing input constraints

Smooth Orthogonal Representation Realizability

Equivalent to last step of TSM [Tamassia 1987]

Page 56: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Complexity

General Ideas:

Encode information in edge lengths

Propagate along rectangular faces

Change direction with triangular faces

Reduction from 3-SAT

Ensure that two sums of informationare the same

Input: angles between edges and edge segments along edges

Output: drawing realizing input constraints

Smooth Orthogonal Representation Realizability

Equivalent to last step of TSM [Tamassia 1987]

Page 57: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Auxiliary Gadgets

Copy gadget

Page 58: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Auxiliary Gadgets

Copy gadget

x

xx

x

Page 59: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Auxiliary Gadgets

Copy gadget

x

xx

x

Page 60: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Auxiliary Gadgets

Copy gadget

x

xx

x

Crossing gadget

Page 61: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Auxiliary Gadgets

Copy gadget

b

a

b

a

x

xx

x

Crossing gadget

Page 62: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Auxiliary Gadgets

Copy gadget

b

a

b

a

x

xx

x

Crossing gadget

We can connect literals and clauses properly

Page 63: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Variable Gadget

Page 64: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Variable Gadget

Take 3 units of “flow” as input

u u u

Page 65: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Variable Gadget

Take 3 units of “flow” as input

Any algorithm must decide how to distribute on x and x

ux

x

u u

Page 66: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Variable Gadget

Take 3 units of “flow” as input

Any algorithm must decide how to distribute on x and x

u

x

x

u u

Page 67: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Variable Gadget

Take 3 units of “flow” as input

Any algorithm must decide how to distribute on x and x

We immediately get a negation

u

x

x

u u

Page 68: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Variable Gadget

Take 3 units of “flow” as input

Any algorithm must decide how to distribute on x and x

We immediately get a negation

We enforce a parity between x and x with another gadget

u

x

x

u u

Page 69: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Variable Gadget

Take 3 units of “flow” as input

Any algorithm must decide how to distribute on x and x

We immediately get a negation

We enforce a parity between x and x with another gadget

`(true) ' 2`(u) and `(false) / `(u)

u

x

x

u u

Page 70: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Clause Gadget

Page 71: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Clause Gadget

One side of the arc is 4 units + a free edge’s length long

u u u u

Page 72: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Clause Gadget

a

b

c

The other side length is defined by the literals of the clause

One side of the arc is 4 units + a free edge’s length long

u u u u

Page 73: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Clause Gadget

a

b

c

The other side length is defined by the literals of the clause

One side of the arc is 4 units + a free edge’s length long

`(true) ' 2`(u) and `(false) / `(u)⇒ at least one literal must be true

u u u u

Page 74: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

A “Small” Example

(a∨ b ∨ c)∧ (a∨ b ∨ c) with a = false and b = c = true

Page 75: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

A “Small” Example

(a∨ b ∨ c)∧ (a∨ b ∨ c) with a = false and b = c = true

Copies of unit length

Page 76: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

A “Small” Example

(a∨ b ∨ c)∧ (a∨ b ∨ c) with a = false and b = c = true

Variable a

Variable b

Variable c

Copies of unit length

Page 77: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

A “Small” Example

(a∨ b ∨ c)∧ (a∨ b ∨ c) with a = false and b = c = true

Variable a

Variable b

Variable c

Copies of unit length

EnsureParity

EnsureParity

Page 78: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

A “Small” Example

(a∨ b ∨ c)∧ (a∨ b ∨ c) with a = false and b = c = true

Variable a

Variable b

Variable c

Copies of unit length

EnsureParity

EnsureParity

a ∨ b ∨ c a ∨ b ∨ c

Page 79: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

A “Small” Example

(a∨ b ∨ c)∧ (a∨ b ∨ c) with a = false and b = c = true

Variable a

Variable b

Variable c

Copies of unit length

EnsureParity

EnsureParity

a ∨ b ∨ c a ∨ b ∨ c

Page 80: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

A “Small” Example

(a∨ b ∨ c)∧ (a∨ b ∨ c) with a = false and b = c = true

Variable a

Variable b

Variable c

Copies of unit length

EnsureParity

EnsureParity

a ∨ b ∨ c a ∨ b ∨ c

Page 81: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Remarks

Octilinear Representation Realizability is NP-hard onmax-degree 4 graphs

Page 82: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Remarks

Octilinear Representation Realizability is NP-hard onmax-degree 4 graphs

Same reduction scheme, most gagdets easy to transform

Page 83: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Remarks

Octilinear Representation Realizability is NP-hard onmax-degree 4 graphs

Same reduction scheme, most gagdets easy to transform

TSM approach not suitable for smooth orthogonal andoctilinear drawings

Page 84: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Kandinsky Drawings

Kandinsky model in smooth orthogonalsetting so far: Book Embedding Inspired

[Bekos et al. 2013]

Page 85: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Kandinsky Drawings

Kandinsky model in smooth orthogonalsetting so far: Book Embedding Inspired

[Bekos et al. 2013]

O(n) time, O(n2) area, ≤ n − 2 edges of complexity 2...But is it readable?

Page 86: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Kandinsky Drawings

Kandinsky model in smooth orthogonalsetting so far: Book Embedding Inspired

[Bekos et al. 2013]

O(n) time, O(n2) area, ≤ n − 2 edges of complexity 2...But is it readable?

Possible improvements:

Distribute vertices more evenly

Draw edges x , y -monotone

Page 87: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Our Modified Shift-Method

Based on [de Fraysseix, Pach, Pollack 1990]

Page 88: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Our Modified Shift-Method

Based on [de Fraysseix, Pach, Pollack 1990]

Contour condition: Only quarter circular arcs on Γk−1

w1 = v1

w`wr

wp = v2

Γk−1

Page 89: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Our Modified Shift-Method

Based on [de Fraysseix, Pach, Pollack 1990]

Contour condition: Only quarter circular arcs on Γk−1

w`wr

Γk−1

w1 = v1 wp = v2Shift blue and green vertices as in the originalshift-method, draw (w`, vk) and (wr , vk) as a single arc

vk

Page 90: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Our Modified Shift-Method

Based on [de Fraysseix, Pach, Pollack 1990]

We can use this approach for octilinear Kandinsky drawings too!

Contour condition: Only quarter circular arcs on Γk−1

Shift blue and green vertices as in the originalshift-method, draw (w`, vk) and (wr , vk) as a single arc

vk

w`wr

Γk−1

w1 = v1 wp = v2

vk

Page 91: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Drawings with Less Bends

So far: Linear time, quadratic area, bi-monotonicity, but noguarantee for number of bends

Page 92: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Drawings with Less Bends

So far: Linear time, quadratic area, bi-monotonicity, but noguarantee for number of bends

Improve in two steps:

Page 93: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Drawings with Less Bends

So far: Linear time, quadratic area, bi-monotonicity, but noguarantee for number of bends

Improve in two steps:

Cut and stretch at edges whose two endpoints have a larger y - thanx-distance

Page 94: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Drawings with Less Bends

So far: Linear time, quadratic area, bi-monotonicity, but noguarantee for number of bends

Improve in two steps:

Cut and stretch at edges whose two endpoints have a larger y - thanx-distance

Compute new y -coordinates

Page 95: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Drawings with Less Bends

So far: Linear time, quadratic area, bi-monotonicity, but noguarantee for number of bends

Improve in two steps:

Cut and stretch at edges whose two endpoints have a larger y - thanx-distance

Compute new y -coordinates

n − 1 edges without bends, O(n4) area

Page 96: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Drawings with Less Bends

So far: Linear time, quadratic area, bi-monotonicity, but noguarantee for number of bends

Improve in two steps:

Cut and stretch at edges whose two endpoints have a larger y - thanx-distance

Compute new y -coordinates

one

Thanks to theanonymous reviewers!n − 1 edges without bends, O(n4) area

O(n3)

Page 97: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Drawings with Less Bends

w1 = v1 wp = v2

Γk−1

w`

wr

Now: steep mountains as contour

Page 98: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Drawings with Less Bends

w1 = v1 wp = v2

Γk−1

w`

wr

Now: steep mountains as contour

Lk

x(vk) is fixed

Page 99: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Drawings with Less Bends

w1 = v1 wp = v2

Γk−1

w`

wr

Now: steep mountains as contour

Lk

x(vk) is fixed =⇒ ensure one edge of complexity 1

Page 100: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Drawings with Less Bends

w1 = v1 wp = v2

Γk−1

w`

wr

Now: steep mountains as contour

Lk

x(vk) is fixed =⇒ ensure one edge of complexity 1

Page 101: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Drawings with Less Bends

w1 = v1 wp = v2

Γk−1

w`

wr

Now: steep mountains as contour

Lk

x(vk) is fixed =⇒ ensure one edge of complexity 1Use highest candidate position to ensure planarity andcontour condition

Page 102: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Open Problems

Relations

Complexity

Kandinsky Drawings

Page 103: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Open Problems

Relations

Higher degree: (smooth) d-linear drawings

Complexity

Kandinsky Drawings

Relations of smooth d-linear and 2d-linear on max-degree d

Page 104: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Open Problems

Relations

Higher degree: (smooth) d-linear drawings

Complexity

Complexity of general bendless smooth orthogonal and octilineardrawing problems on max-degree 4 graphs

Kandinsky Drawings

Relations of smooth d-linear and 2d-linear on max-degree d

Page 105: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Open Problems

Relations

Higher degree: (smooth) d-linear drawings

Complexity

Complexity of general bendless smooth orthogonal and octilineardrawing problems on max-degree 4 graphs

Kandinsky Drawings

Generalize bend reduction to non-triangulated planar graphs

Bend reduction for the octilinear model

Relations of smooth d-linear and 2d-linear on max-degree d

Page 106: Relations, Complexity and Kandinsky Drawings On Smooth ...Kandinsky Drawings Book embedding inspired approach for smooth orthogonal model (< n edges with edges of complexity 2) 1 bend

Open Problems

Relations

Higher degree: (smooth) d-linear drawings

Complexity

Complexity of general bendless smooth orthogonal and octilineardrawing problems on max-degree 4 graphs

Kandinsky Drawings

Generalize bend reduction to non-triangulated planar graphs

Bend reduction for the octilinear model

Thanks for yourattention!

Relations of smooth d-linear and 2d-linear on max-degree d