Skip to main content

The Complexity of Drawing Graphs on Few Lines and Few Planes

  • Conference paper
  • First Online:
Algorithms and Data Structures (WADS 2017)

Abstract

It is well known that any graph admits a crossing-free straight-line drawing in \(\mathbb {R} ^3\) and that any planar graph admits the same even in \(\mathbb {R} ^2\). For a graph G and \(d \in \{2,3\}\), let \(\rho ^1_d(G)\) denote the minimum number of lines in \(\mathbb {R} ^d\) that together can cover all edges of a drawing of G. For \(d=2\), G must be planar. We investigate the complexity of computing these parameters and obtain the following hardness and algorithmic results.

  • For \(d\in \{2,3\}\), we prove that deciding whether \(\rho ^1_d(G)\le k\) for a given graph G and integer k is \(\exists \mathbb {R}\)-complete.

  • Since \(\mathrm {NP}\subseteq \exists \mathbb {R}\), deciding \(\rho ^1_d(G)\le k\) is NP-hard for \(d\in \{2,3\}\). On the positive side, we show that the problem is fixed-parameter tractable with respect to k.

  • Since \(\exists \mathbb {R}\subseteq \mathrm {PSPACE}\), both \(\rho ^1_2(G)\) and \(\rho ^1_3(G)\) are computable in polynomial space. On the negative side, we show that drawings that are optimal with respect to \(\rho ^1_2\) or \(\rho ^1_3\) sometimes require irrational coordinates.

  • Let \(\rho ^2_3(G)\) be the minimum number of planes in \(\mathbb {R} ^3\) needed to cover a straight-line drawing of a graph G. We prove that deciding whether \(\rho ^2_3(G)\le k\) is NP-hard for any fixed \(k \ge 2\). Hence, the problem is not fixed-parameter tractable with respect to k unless \(\mathrm {P}=\mathrm {NP}\).

K. Fleszar was supported by Conicyt PCI PII 20150140 and Millennium Nucleus Information and Coordination in Networks RC130003.

F. Lipp was supported by Cusanuswerk.

O. Verbitsky was supported by DFG grant VE 652/1-2.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bienstock, D.: Some provably hard crossing number problems. Discrete Comput. Geom. 6, 443–459 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  2. Bose, P., Everett, H., Wismath, S.K.: Properties of arrangement graphs. Int. J. Comput. Geom. Appl. 13(6), 447–462 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  3. Canny, J.F.: Some algebraic and geometric computations in PSPACE. In: Proc. 20th Annu. ACM Symp. Theory Comput. (STOC 1988), pp. 460–467 (1988)

    Google Scholar 

  4. Cardinal, J.: Computational geometry column 62. SIGACT News 46(4), 69–78 (2015)

    Article  MathSciNet  Google Scholar 

  5. Chaplick, S., Fleszar, K., Lipp, F., Ravsky, A., Verbitsky, O., Wolff, A.: The complexity of drawing graphs on few lines and few planes (2016). arxiv.org/1607.06444

  6. Chaplick, S., Fleszar, K., Lipp, F., Ravsky, A., Verbitsky, O., Wolff, A.: Drawing graphs on few lines and few planes. In: Hu, Y., Nöllenburg, M. (eds.) GD 2016. LNCS, vol. 9801, pp. 166–180. Springer, Cham (2016). doi:10.1007/978-3-319-50106-2_14

    Chapter  Google Scholar 

  7. Dujmović, V., Eppstein, D., Suderman, M., Wood, D.R.: Drawings of planar graphs with few slopes and segments. Comput. Geom. Theory Appl. 38(3), 194–212 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  8. Dujmović, V., Pór, A., Wood, D.R.: Track layouts of graphs. Discrete Math. & Theor. Comput. Sci. 6(2), 497–522 (2004)

    MathSciNet  MATH  Google Scholar 

  9. Dujmović, V., Whitesides, S.: Three-dimensional drawings. In: Tamassia, R. (ed.) Handbook of Graph Drawing and Visualization, chap. 14, pp. 455–488. CRC Press (2013)

    Google Scholar 

  10. Durocher, S., Mondal, D., Nishat, R.I., Whitesides, S.: A note on minimum-segment drawings of planar graphs. J. Graph Alg. Appl. 17(3), 301–328 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  11. Eppstein, D.: Drawing arrangement graphs in small grids, or how to play planarity. J. Graph Alg. Appl. 18(2), 211–231 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  12. Farrugia, A.: Vertex-partitioning into fixed additive induced-hereditary properties is NP-hard. Electr. J. Comb. 11(1) (2004)

    Google Scholar 

  13. Kang, R.J., Müller, T.: Sphere and dot product representations of graphs. Discrete Comput. Geom. 47(3), 548–568 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  14. Kratochvíl, J., Lubiw, A., Nešetřil, J.: Noncrossing subgraphs in topological layouts. SIAM J. Discrete Math. 4(2), 223–244 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  15. Kratochvíl, J., Matoušek, J.: Intersection graphs of segments. J. Comb. Theory, Ser. B 62(2), 289–315 (1994)

    Google Scholar 

  16. Matoušek, J.: Intersection graphs of segments and \({\exists }\mathbb{R}\) (2014). arxiv.org/1406.2636

  17. Mnëv, N.E.: On manifolds of combinatorial types of projective configurations and convex polyhedra. Sov. Math., Dokl. 32, 335–337 (1985)

    MATH  Google Scholar 

  18. Mnëv, N.E.: The universality theorems on the classification problem of configuration varieties and convex polytopes varieties. In: Viro, O. (ed.) Topology and Geometry, Rohlin Seminar 1984–1986. LNM, vol. 1346, pp. 527–543. Springer, Heidelberg (1988)

    Chapter  Google Scholar 

  19. Mulzer, W., Rote, G.: Minimum-weight triangulation is NP-hard. J. ACM 55(2), 11 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  20. Renegar, J.: On the computational complexity and geometry of the first-order theory of the reals, part I: Introduction. preliminaries. the geometry of semi-algebraic sets. the decision problem for the existential theory of the reals. J. Symb. Comput. 13(3), 255–300 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  21. Renegar, J.: On the computational complexity and geometry of the first-order theory of the reals, part II: The general decision problem. preliminaries for quantifier elimination. J. Symb. Comput. 13(3), 301–328 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  22. Renegar, J.: On the computational complexity and geometry of the first-order theory of the reals, part III: Quantifier elimination. J. Symb. Comput. 13(3), 329–352 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  23. Schaefer, M.: Complexity of some geometric and topological problems. In: Eppstein, D., Gansner, E.R. (eds.) GD 2009. LNCS, vol. 5849, pp. 334–344. Springer, Heidelberg (2010). doi:10.1007/978-3-642-11805-0_32

    Chapter  Google Scholar 

  24. Schaefer, M., Štefankovič, D.: Fixed points, Nash equilibria, and the existential theory of the reals. Theory Comput. Syst. 1–22 (2015)

    Google Scholar 

  25. Shor, P.W.: Stretchability of pseudolines is NP-hard. In: Gritzmann, P., Sturmfels, B. (eds.) Applied Geometry and Discrete Mathematics-The Victor Klee Festschrift, DIMACS Series, vol. 4, pp. 531–554 (1991). Amer. Math. Soc

    Google Scholar 

  26. Zuckerman, D.: Linear degree extractors and the inapproximability of max clique and chromatic number. Theory Comput. 3(1), 103–128 (2007)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fabian Lipp .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Chaplick, S., Fleszar, K., Lipp, F., Ravsky, A., Verbitsky, O., Wolff, A. (2017). The Complexity of Drawing Graphs on Few Lines and Few Planes. In: Ellen, F., Kolokolova, A., Sack, JR. (eds) Algorithms and Data Structures. WADS 2017. Lecture Notes in Computer Science(), vol 10389. Springer, Cham. https://doi.org/10.1007/978-3-319-62127-2_23

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-62127-2_23

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-62126-5

  • Online ISBN: 978-3-319-62127-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics