Jump to content

Slope number: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m link
No edit summary
 
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{bots|deny=Citation bot}}
[[File:Petersen graph with slope number 3.svg|thumb|240px|A drawing of the [[Petersen graph]] with slope number 3]]
{{Short description|Number of edge slopes in graph drawing}}
[[File:Petersen graph with slope number 3.svg|thumb|A drawing of the [[Petersen graph]] with slope number 3]]
In [[graph drawing]] and [[geometric graph theory]], the '''slope number''' of a graph is the minimum possible number of distinct [[slope]]s of edges in a drawing of the graph in which vertices are represented as points in the [[Euclidean plane]] and edges are represented as [[line segment]]s that do not pass through any non-incident vertex.
In [[graph drawing]] and [[geometric graph theory]], the '''slope number''' of a graph is the minimum possible number of distinct [[slope]]s of edges in a drawing of the graph in which vertices are represented as points in the [[Euclidean plane]] and edges are represented as [[line segment]]s that do not pass through any non-incident vertex.


==Complete graphs==
==Complete graphs==
Although closely related problems in [[discrete geometry]] had been studied earlier, e.g. by {{harvtxt|Scott|1970}} and {{harvtxt|Jamison|1984}},
Although closely related problems in [[discrete geometry]] had been studied earlier, e.g. by {{harvtxt|Scott|1970}} and {{harvtxt|Jamison|1984}},
the problem of determining the slope number of a graph was introduced by {{harvtxt|Wade|Chu|1994}}, who showed that the slope number of an ''n''-vertex [[complete graph]] ''K''<sub>''n''</sub> is exactly&nbsp;''n''. A drawing with this slope number may be formed by placing the vertices of the graph on a [[regular polygon]].
the problem of determining the slope number of a graph was introduced by {{harvtxt|Wade|Chu|1994}}, who showed that the slope number of an {{mvar|n}}-vertex [[complete graph]] {{math|''K''<sub>''n''</sub>}} is exactly&nbsp;{{mvar|n}}. A drawing with this slope number may be formed by placing the vertices of the graph on a [[regular polygon]].


==Relation to degree==
==Relation to degree==
The slope number of a graph of maximum degree ''d'' is clearly at least <math>\lceil d/2\rceil</math>, because at most two of the incident edges at a degree-''d'' vertex can share a slope. More precisely, the slope number is at least equal to the [[linear arboricity]] of the graph, since the edges of a single slope must form a linear forest, and the linear arboricity in turn is at least <math>\lceil d/2\rceil</math>.
The slope number of a graph of maximum degree {{mvar|d}} is clearly at least <math>\lceil d/2\rceil</math>, because at most two of the incident edges at a degree-{{mvar|d}} vertex can share a slope. More precisely, the slope number is at least equal to the [[linear arboricity]] of the graph, since the edges of a single slope must form a [[linear forest]], and the linear arboricity in turn is at least <math>\lceil d/2\rceil</math>.


{{unsolved|mathematics|Do the graphs of maximum degree four have bounded slope number?}}
There exist graphs with maximum [[degree (graph theory)|degree]] five that have arbitrarily large slope number.<ref>Proved independently by {{harvtxt|Barát|Matoušek|Wood|2006}} and {{harvtxt|Pach|Pálvölgyi|2006}}, solving a problem posed by {{harvtxt|Dujmović|Suderman|Wood|2005}}. See theorems 5.1 and 5.2 of {{harvtxt|Pach|Sharir|2009}}.</ref> However, every graph of maximum degree three has slope number at most four;<ref>{{harvtxt|Mukkamala|Szegedy|2009}}, improving an earlier result of {{harvtxt|Keszegh|Pach|Pálvölgyi|Tóth|2008}}; theorem 5.3 of {{harvtxt|Pach|Sharir|2009}}.</ref> the result of {{harvtxt|Wade|Chu|1994}} for the complete graph ''K''<sub>4</sub> shows that this is tight. Not every set of four slopes is suitable for drawing all degree-3 graphs: a set of slopes is suitable for this purpose if and only it forms the slopes of the sides and diagonals of a [[parallelogram]]. In particular, any degree 3 graph can be drawn so that its edges are either axis-parallel or parallel to the main diagonals of the [[integer lattice]].<ref>{{harvtxt|Mukkamala|Pálvölgyi|2012}}.</ref> It is not known whether graphs of maximum degree four have bounded or unbounded slope number.<ref>{{harvtxt|Pach|Sharir|2009}}.</ref>
There exist graphs with maximum [[degree (graph theory)|degree]] five that have arbitrarily large slope number.<ref>Proved independently by {{harvtxt|Barát|Matoušek|Wood|2006}} and {{harvtxt|Pach|Pálvölgyi|2006}}, solving a problem posed by {{harvtxt|Dujmović|Suderman|Wood|2005}}. See theorems 5.1 and 5.2 of {{harvtxt|Pach|Sharir|2009}}.</ref> However, every graph of maximum degree three has slope number at most four;<ref>{{harvtxt|Mukkamala|Szegedy|2009}}, improving an earlier result of {{harvtxt|Keszegh|Pach|Pálvölgyi|Tóth|2008}}; theorem 5.3 of {{harvtxt|Pach|Sharir|2009}}.</ref> the result of {{harvtxt|Wade|Chu|1994}} for the complete graph {{math|''K''<sub>4</sub>}} shows that this is tight. Not every set of four slopes is suitable for drawing all degree-3 graphs: a set of slopes is suitable for this purpose if and only if it forms the slopes of the sides and diagonals of a [[parallelogram]]. In particular, any degree 3 graph can be drawn so that its edges are either axis-parallel or parallel to the main diagonals of the [[integer lattice]].<ref>{{harvtxt|Mukkamala|Pálvölgyi|2012}}.</ref> It is not known whether graphs of maximum degree four have bounded or unbounded slope number.<ref>{{harvtxt|Pach|Sharir|2009}}.</ref>


[[File:KesPacPal-GD-10.svg|thumb|The method of {{harvtxt|Keszegh|Pach|Pálvölgyi|2011}} for combining circle packings and quadtrees to achieve bounded slope number for planar graphs with bounded degree]]
[[File:KesPacPal-GD-10.svg|thumb|The method of {{harvtxt|Keszegh|Pach|Pálvölgyi|2011}} for combining circle packings and quadtrees to achieve bounded slope number for planar graphs with bounded degree]]


==Planar graphs==
==Planar graphs==
As {{harvtxt|Keszegh|Pach|Pálvölgyi|2011}} showed, every [[planar graph]] has a [[Fáry's theorem|planar straight-line drawing]] in which the number of distinct slopes is a function of the degree of the graph. Their proof follows a construction of {{harvtxt|Malitz|Papakostas|1994}} for bounding the [[Angular resolution (graph drawing)|angular resolution]] of planar graphs as a function of degree, by completing the graph to a [[maximal planar graph]] without increasing its degree by more than a constant factor, and applying the [[circle packing theorem]] to represent this augmented graph as a collection of tangent circles. If the degree of the initial graph is bounded, the ratio between the radii of adjacent circles in the packing will also be bounded,<ref>{{harvtxt|Hansen|1988}}.</ref> which in turn implies that using a [[quadtree]] to place each graph vertex on a point within its circle will produce slopes that are ratios of small integers. The number of distinct slopes produced by this construction is exponential in the degree of the graph.
As {{harvtxt|Keszegh|Pach|Pálvölgyi|2011}} showed, every [[planar graph]] has a [[Fáry's theorem|planar straight-line drawing]] in which the number of distinct slopes is a function of the degree of the graph. Their proof follows a construction of {{harvtxt|Malitz|Papakostas|1994}} for bounding the [[Angular resolution (graph drawing)|angular resolution]] of planar graphs as a function of degree, by completing the graph to a [[maximal planar graph]] without increasing its degree by more than a constant factor, and applying the [[circle packing theorem]] to represent this augmented graph as a collection of tangent circles. If the degree of the initial graph is bounded, the ratio between the radii of adjacent circles in the packing will also be bounded by the [[ring lemma]],<ref>{{harvtxt|Hansen|1988}}.</ref> which in turn implies that using a [[quadtree]] to place each graph vertex on a point within its circle will produce slopes that are ratios of small integers. The number of distinct slopes produced by this construction is exponential in the degree of the graph.


==Complexity==
==Complexity==
It is [[NP-complete]] to determine whether a graph has slope number two.<ref>{{harvtxt|Formann|Hagerup|Haralambides|Kaufmann|1993}}; {{harvtxt|Eades|Hong|Poon|2010}}; {{harvtxt|Maňuch|Patterson|Poon|Thachuk|2011}}.</ref> From this, it follows that it is NP-hard to determine the slope number of an arbitrary graph, or to approximate it with an [[approximation ratio]] better than 3/2.
It is [[NP-complete]] to determine whether a graph has slope number two.<ref>{{harvtxt|Formann|Hagerup|Haralambides|Kaufmann|1993}}; {{harvtxt|Eades|Hong|Poon|2010}}; {{harvtxt|Maňuch|Patterson|Poon|Thachuk|2011}}.</ref> From this, it follows that it is NP-hard to determine the slope number of an arbitrary graph, or to approximate it with an [[approximation ratio]] better than 3/2.


It is also NP-complete to determine whether a planar graph has a planar drawing with slope number two.<ref>{{harvtxt|Garg|Tamassia|2001}}.</ref>
It is also NP-complete to determine whether a planar graph has a planar drawing with slope number two,<ref>{{harvtxt|Garg|Tamassia|2001}}.</ref>
and hard for the [[existential theory of the reals]] to determine the minimum slope number of a planar drawing.<ref>{{harvtxt|Hoffmann|2016}}.</ref>


==Notes==
==Notes==
Line 29: Line 33:
| last1 = Barát | first1 = János
| last1 = Barát | first1 = János
| last2 = Matoušek | first2 = Jiří | author2-link = Jiří Matoušek (mathematician)
| last2 = Matoušek | first2 = Jiří | author2-link = Jiří Matoušek (mathematician)
| last3 = Wood | first3 = David R.
| last3 = Wood | first3 = David R. | author3-link = David Wood (mathematician)
| issue = 1
| issue = 1
| journal = [[Electronic Journal of Combinatorics]]
| journal = [[Electronic Journal of Combinatorics]]
Line 39: Line 43:
| year = 2006}}.
| year = 2006}}.
*{{citation
*{{citation
| last1 = Dujmović | first1 = Vida
| last1 = Dujmović | first1 = Vida | author1-link = Vida Dujmović
| last2 = Suderman | first2 = Matthew
| last2 = Suderman | first2 = Matthew
| last3 = Wood | first3 = David R.
| last3 = Wood | first3 = David R. | author3-link = David Wood (mathematician)
| editor-last = Pach | editor-first = János | editor-link = János Pach
| editor-last = Pach | editor-first = János | editor-link = János Pach
| contribution = Really straight graph drawings
| contribution = Really straight graph drawings
Line 51: Line 55:
| title = [[International Symposium on Graph Drawing|Graph Drawing: 12th International Symposium, GD 2004, New York, NY, USA, September 29-October 2, 2004, Revised Selected Papers]]
| title = [[International Symposium on Graph Drawing|Graph Drawing: 12th International Symposium, GD 2004, New York, NY, USA, September 29-October 2, 2004, Revised Selected Papers]]
| volume = 3383
| volume = 3383
| year = 2005}}.
| year = 2005| arxiv = cs/0405112}}.
*{{citation
*{{citation
| last1 = Eades | first1 = Peter | author1-link = Peter Eades
| last1 = Eades | first1 = Peter | author1-link = Peter Eades
| last2 = Hong | first2 = Seok-Hee
| last2 = Hong | first2 = Seok-Hee | author2-link = Seok-Hee Hong
| last3 = Poon | first3 = Sheung-Hung
| last3 = Poon | first3 = Sheung-Hung
| editor1-last = Eppstein | editor1-first = David | editor1-link = David Eppstein
| editor1-last = Eppstein | editor1-first = David | editor1-link = David Eppstein
Line 67: Line 71:
| title = [[International Symposium on Graph Drawing|Graph Drawing: 17th International Symposium, GD 2009, Chicago, IL, USA, September 22-25, 2009, Revised Papers]]
| title = [[International Symposium on Graph Drawing|Graph Drawing: 17th International Symposium, GD 2009, Chicago, IL, USA, September 22-25, 2009, Revised Papers]]
| volume = 5849
| volume = 5849
| year = 2010}}.
| year = 2010| doi-access = free
}}.
*{{citation
*{{citation
| last1 = Formann | first1 = M.
| last1 = Formann | first1 = M.
Line 76: Line 81:
| last6 = Symvonis | first6 = A.
| last6 = Symvonis | first6 = A.
| last7 = Welzl | first7 = E. | author7-link = Emo Welzl
| last7 = Welzl | first7 = E. | author7-link = Emo Welzl
| last8 = Woeginger | first8 = G.
| last8 = Woeginger | first8 = G. | author8-link = Gerhard J. Woeginger
| doi = 10.1137/0222063
| doi = 10.1137/0222063
| issue = 5
| issue = 5
Line 106: Line 111:
| year = 1988
| year = 1988
| doi=10.1080/17476938808814284}}.
| doi=10.1080/17476938808814284}}.
*{{citation
| last = Hoffmann | first = Udo
| contribution = The planar slope number
| title = Proceedings of the 28th Canadian Conference on Computational Geometry (CCCG 2016)
| year = 2016}}.
*{{citation
*{{citation
| last = Jamison | first = Robert E.
| last = Jamison | first = Robert E.
Line 120: Line 130:
| last2 = Pach | first2 = János | author2-link = János Pach
| last2 = Pach | first2 = János | author2-link = János Pach
| last3 = Pálvölgyi | first3 = Dömötör
| last3 = Pálvölgyi | first3 = Dömötör
| editor1-last = Brandes | editor1-first = Ulrik
| editor1-last = Brandes | editor1-first = Ulrik | editor1-link = Ulrik Brandes
| editor2-last = Cornelsen | editor2-first = Sabine
| editor2-last = Cornelsen | editor2-first = Sabine
| contribution = Drawing planar graphs of bounded degree with few slopes
| contribution = Drawing planar graphs of bounded degree with few slopes
Line 131: Line 141:
| title = [[International Symposium on Graph Drawing|Graph Drawing: 18th International Symposium, GD 2010, Konstanz, Germany, September 21-24, 2010, Revised Selected Papers]]
| title = [[International Symposium on Graph Drawing|Graph Drawing: 18th International Symposium, GD 2010, Konstanz, Germany, September 21-24, 2010, Revised Selected Papers]]
| volume = 6502
| volume = 6502
| year = 2011}}.
| year = 2011| arxiv = 1009.1315}}.
*{{citation
*{{citation
| last1 = Keszegh | first1 = Balázs
| last1 = Keszegh | first1 = Balázs
Line 139: Line 149:
| doi = 10.1016/j.comgeo.2007.05.003
| doi = 10.1016/j.comgeo.2007.05.003
| issue = 2
| issue = 2
| journal = Computational Geometry Theory and Applications
| journal = [[Computational Geometry (journal)|Computational Geometry: Theory and Applications]]
| mr = 2400539
| mr = 2400539
| pages = 138–147
| pages = 138–147
| title = Drawing cubic graphs with at most five slopes
| title = Drawing cubic graphs with at most five slopes
| volume = 40
| volume = 40
| year = 2008}}.
| year = 2008| doi-access = free
}}.
*{{citation
*{{citation
| last1 = Malitz | first1 = Seth
| last1 = Malitz | first1 = Seth
Line 161: Line 172:
| last3 = Poon | first3 = Sheung-Hung
| last3 = Poon | first3 = Sheung-Hung
| last4 = Thachuk | first4 = Chris
| last4 = Thachuk | first4 = Chris
| editor1-last = Brandes | editor1-first = Ulrik
| editor1-last = Brandes | editor1-first = Ulrik | editor1-link = Ulrik Brandes
| editor2-last = Cornelsen | editor2-first = Sabine
| editor2-last = Cornelsen | editor2-first = Sabine
| contribution = Complexity of finding non-planar rectilinear drawings of graphs
| contribution = Complexity of finding non-planar rectilinear drawings of graphs
Line 172: Line 183:
| title = [[International Symposium on Graph Drawing|Graph Drawing: 18th International Symposium, GD 2010, Konstanz, Germany, September 21-24, 2010, Revised Selected Papers]]
| title = [[International Symposium on Graph Drawing|Graph Drawing: 18th International Symposium, GD 2010, Konstanz, Germany, September 21-24, 2010, Revised Selected Papers]]
| volume = 6502
| volume = 6502
| year = 2011}}.
| year = 2011| hdl = 10281/217381
| hdl-access = free
}}.
*{{citation
*{{citation
| last1 = Mukkamala | first1 = Padmini
| last1 = Mukkamala | first1 = Padmini
Line 178: Line 191:
| doi = 10.1016/j.comgeo.2009.01.005
| doi = 10.1016/j.comgeo.2009.01.005
| issue = 9
| issue = 9
| journal = Computational Geometry Theory and Applications
| journal = [[Computational Geometry (journal)|Computational Geometry: Theory and Applications]]
| mr = 2543806
| mr = 2543806
| pages = 842–851
| pages = 842–851
| title = Geometric representation of cubic graphs with four directions
| title = Geometric representation of cubic graphs with four directions
| volume = 42
| volume = 42
| year = 2009}}.
| year = 2009| doi-access = free
}}.
*{{citation
*{{citation
| last1 = Mukkamala | first1 = Padmini
| last1 = Mukkamala | first1 = Padmini
| last2 = Pálvölgyi | first2 = Dömötör
| last2 = Pálvölgyi | first2 = Dömötör
| editor1-last = van Kreveld | editor1-first = Marc
| editor1-last = van Kreveld | editor1-first = Marc
| editor2-last = Speckmann | editor2-first = Bettina
| editor2-last = Speckmann | editor2-first = Bettina | editor2-link = Bettina Speckmann
| contribution = Drawing cubic graphs with the four basic slopes
| contribution = Drawing cubic graphs with the four basic slopes
| doi = 10.1007/978-3-642-25878-7_25
| doi = 10.1007/978-3-642-25878-7_25
Line 196: Line 210:
| title = [[International Symposium on Graph Drawing|Graph Drawing: 19th International Symposium, GD 2011, Eindhoven, The Netherlands, September 21-23, 2011, Revised Selected Papers]]
| title = [[International Symposium on Graph Drawing|Graph Drawing: 19th International Symposium, GD 2011, Eindhoven, The Netherlands, September 21-23, 2011, Revised Selected Papers]]
| volume = 7034
| volume = 7034
| year = 2012}}.
| year = 2012| arxiv = 1106.1973}}.
*{{citation
*{{citation
| last1 = Pach | first1 = János | author1-link = János Pach
| last1 = Pach | first1 = János | author1-link = János Pach
Line 223: Line 237:
| mr = 0262933
| mr = 0262933
| pages = 502–505
| pages = 502–505
| title = On the sets of directions determined by ''n'' points
| title = On the sets of directions determined by {{mvar|n}} points
| volume = 77
| volume = 77
| year = 1970
| year = 1970
Line 236: Line 250:
| title = Drawability of complete graphs using a minimal slope set
| title = Drawability of complete graphs using a minimal slope set
| volume = 37
| volume = 37
| year = 1994}}.
| year = 1994| doi-access = free
}}.
{{refend}}
{{refend}}


Line 242: Line 257:
[[Category:Graph drawing]]
[[Category:Graph drawing]]
[[Category:Geometric graph theory]]
[[Category:Geometric graph theory]]
[[Category:NP-complete problems]]

Latest revision as of 08:39, 16 July 2024

A drawing of the Petersen graph with slope number 3

In graph drawing and geometric graph theory, the slope number of a graph is the minimum possible number of distinct slopes of edges in a drawing of the graph in which vertices are represented as points in the Euclidean plane and edges are represented as line segments that do not pass through any non-incident vertex.

Complete graphs

[edit]

Although closely related problems in discrete geometry had been studied earlier, e.g. by Scott (1970) and Jamison (1984), the problem of determining the slope number of a graph was introduced by Wade & Chu (1994), who showed that the slope number of an n-vertex complete graph Kn is exactly n. A drawing with this slope number may be formed by placing the vertices of the graph on a regular polygon.

Relation to degree

[edit]

The slope number of a graph of maximum degree d is clearly at least , because at most two of the incident edges at a degree-d vertex can share a slope. More precisely, the slope number is at least equal to the linear arboricity of the graph, since the edges of a single slope must form a linear forest, and the linear arboricity in turn is at least .

Unsolved problem in mathematics:
Do the graphs of maximum degree four have bounded slope number?

There exist graphs with maximum degree five that have arbitrarily large slope number.[1] However, every graph of maximum degree three has slope number at most four;[2] the result of Wade & Chu (1994) for the complete graph K4 shows that this is tight. Not every set of four slopes is suitable for drawing all degree-3 graphs: a set of slopes is suitable for this purpose if and only if it forms the slopes of the sides and diagonals of a parallelogram. In particular, any degree 3 graph can be drawn so that its edges are either axis-parallel or parallel to the main diagonals of the integer lattice.[3] It is not known whether graphs of maximum degree four have bounded or unbounded slope number.[4]

The method of Keszegh, Pach & Pálvölgyi (2011) for combining circle packings and quadtrees to achieve bounded slope number for planar graphs with bounded degree

Planar graphs

[edit]

As Keszegh, Pach & Pálvölgyi (2011) showed, every planar graph has a planar straight-line drawing in which the number of distinct slopes is a function of the degree of the graph. Their proof follows a construction of Malitz & Papakostas (1994) for bounding the angular resolution of planar graphs as a function of degree, by completing the graph to a maximal planar graph without increasing its degree by more than a constant factor, and applying the circle packing theorem to represent this augmented graph as a collection of tangent circles. If the degree of the initial graph is bounded, the ratio between the radii of adjacent circles in the packing will also be bounded by the ring lemma,[5] which in turn implies that using a quadtree to place each graph vertex on a point within its circle will produce slopes that are ratios of small integers. The number of distinct slopes produced by this construction is exponential in the degree of the graph.

Complexity

[edit]

It is NP-complete to determine whether a graph has slope number two.[6] From this, it follows that it is NP-hard to determine the slope number of an arbitrary graph, or to approximate it with an approximation ratio better than 3/2.

It is also NP-complete to determine whether a planar graph has a planar drawing with slope number two,[7] and hard for the existential theory of the reals to determine the minimum slope number of a planar drawing.[8]

Notes

[edit]

References

[edit]