Skip to main content
Log in

Monotone Drawings of Graphs with Fixed Embedding

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

A drawing of a graph is a monotone drawing if for every pair of vertices u and v there is a path drawn from u to v that is monotone in some direction. In this paper we investigate planar monotone drawings in the fixed embedding setting, i.e., a planar embedding of the graph is given as part of the input that must be preserved by the drawing algorithm. In this setting we prove that every planar graph on n vertices admits a planar monotone drawing with at most two bends per edge and with at most 4n−10 bends in total; such a drawing can be computed in linear time and requires polynomial area. We also show that two bends per edge are sometimes necessary on a linear number of edges of the graph. Furthermore, we investigate subclasses of planar graphs that can be realized as embedding-preserving monotone drawings with straight-line edges. In fact, we prove that biconnected embedded planar graphs and outerplane graphs always admit such drawings, and describe linear-time drawing algorithms for these two graph classes.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17

Similar content being viewed by others

Notes

  1. In [2] points N μ ,E μ ,S μ ,W μ are denoted as p N (μ),p E (μ),p S (μ),p W (μ), respectively.

References

  1. Angelini, P., Frati, F., Grilli, L.: An algorithm to construct greedy drawings of triangulations. J. Graph Algorithms Appl. 14(1), 19–51 (2010)

    Article  MATH  MathSciNet  Google Scholar 

  2. Angelini, P., Colasante, E., Battista, G.D., Frati, F., Patrignani, M.: Monotone drawings of graphs. J. Graph Algorithms Appl. 16(1), 5–35 (2012). Special Issue on Selected Papers from GD ’10

    Article  MATH  MathSciNet  Google Scholar 

  3. Arkin, E.M., Connelly, R., Mitchell, J.S.B.: On monotone paths among obstacles with applications to planning assemblies. In: Symposium on Computational Geometry, pp. 334–343 (1989)

    Google Scholar 

  4. Battista, G.D.: On-line maintenance of triconnected components with SPQR-trees. Algorithmica 15(4), 302–318 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  5. Battista, G.D.: On-line planarity testing. SIAM J. Comput. 25, 956–997 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  6. Brocot, A.: Calcul des rouages par approximation, nouvelle methode. Rev. Chronom. 6, 186–194 (1860)

    Google Scholar 

  7. Chazelle, B.: Triangulating a simple polygon in linear time. Discrete Comput. Geom. 6, 485–524 (1991)

    Article  MATH  MathSciNet  Google Scholar 

  8. Chiba, N., Nishizeki, T.: Planar Graphs: Theory and Algorithms. Annals of Discrete Mathematics, vol. 32. North-Holland, Amsterdam (1988)

    MATH  Google Scholar 

  9. Chiba, N., Onoguchi, K., Nishizeki, T.: Drawing plane graphs nicely. Acta Inform. 22, 187–201 (1985)

    Article  MATH  MathSciNet  Google Scholar 

  10. Di Battista, G., Eades, P., Tamassia, R., Tollis, I.G.: Graph Drawing. Prentice Hall, Upper Saddle River (1999)

    MATH  Google Scholar 

  11. Garg, A., Tamassia, R.: Upward planarity testing. Order 12(2), 109–133 (1995)

    Article  MATH  MathSciNet  Google Scholar 

  12. Gutwenger, C., Mutzel, P.: A linear time implementation of spqr-trees. In: Marks, J. (ed.) Graph Drawing. Lecture Notes in Computer Science, vol. 1984, pp. 77–90. Springer, Berlin (2001)

    Chapter  Google Scholar 

  13. Huang, W., Eades, P., Hong, S.-H.: A graph reading behavior: geodesic-path tendency. In: PacificVis, pp. 137–144 (2009)

    Google Scholar 

  14. Leighton, T., Moitra, A.: Some results on greedy embeddings in metric spaces. Discrete Comput. Geom. 44(3), 686–705 (2010)

    Article  MATH  MathSciNet  Google Scholar 

  15. Papadimitriou, C.H., Ratajczak, D.: On a conjecture related to geometric routing. Theor. Comput. Sci. 344(1), 3–14 (2005)

    Article  MATH  MathSciNet  Google Scholar 

  16. Stern, M.A.: Ueber eine zahlentheoretische Funktion. J. Reine Angew. Math. 55, 193–220 (1858)

    Article  MATH  Google Scholar 

Download references

Acknowledgements

We thank the anonymous reviewers for their valuable comments.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Patrizio Angelini.

Additional information

A shorter version of this work appeared in the Proceedings of the 18th International Symposium on Graph Drawing (GD 2011). Research supported in part by the MIUR project AlgoDEEP prot. 2008TFBWL4 and by the ESF project 10-EuroGIGA-OP-003 GraDR “Graph Drawings and Representations”. Work on these results began at the 6th Bertinoro Workshop on Graph drawing. Discussion with other participants is gratefully acknowledged.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Angelini, P., Didimo, W., Kobourov, S. et al. Monotone Drawings of Graphs with Fixed Embedding. Algorithmica 71, 233–257 (2015). https://doi.org/10.1007/s00453-013-9790-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-013-9790-3

Keywords

Navigation