How to draw a planar graph on a grid

Abstract

Answering a question of Rosenstiehl and Tarjan, we show that every plane graph withn vertices has a Fáry embedding (i.e., straight-line embedding) on the 2n−4 byn−2 grid and provide anO(n) space,O(n logn) time algorithm to effect this embedding. The grid size is asymptotically optimal and it had been previously unknown whether one can always find a polynomial sized grid to support such an embedding. On the other hand we show that any setF, which can support a Fáry embedding of every planar graph of sizen, has cardinality at leastn+(1−o(1))√n which settles a problem of Mohar.

This is a preview of subscription content, access via your institution.

References

  1. [1]

    B.Chazelle, Slimming down search structures: a functional approach to algorithm design, inProceedings of the Twenty Sixth Annual Symposium on the Foundations of Computer Science,1985, 165–174.

  2. [2]

    N.Chiba, T.Yamanouchi and T.Nishizeki, Linear algorithms for convex drawings of planar graphs, inProgress in graph theory,1982, 153–173.

  3. [3]

    P. Duchet, Y. Hamidoune, M. Las Vergnas andH. Meyniel, Representing a planar graph by vertical lines joining different intervals,Discrete Math.,46 (1983), 319–321.

    Google Scholar 

  4. [4]

    I. Fáry, On straight line representing of planar graphs,Acta. Sci. Math. (Szeged),11 (1948), 229–233.

    Google Scholar 

  5. [5]

    H.de Fraysseix,Drawing planar and non-planar graphs from the half-edge code (to appear).

  6. [6]

    H.de Fraysseix and P.Rosenstiehl, Structures combinatoires pour traces automatiques do resaux, inProceedings of the Third European Conference on CAD/CAM and Computer Graphics,1984, 332–337.

  7. [7]

    H.de Fraysseix and P.Rosenstiehl,L'algorithme Gauche-droite pour le plongement des graphes dans le plan (to appear).

  8. [8]

    D. H.Greene,Efficient coding and drawing of planar graphs, Xerox Palo Alto Research Center. Palo Alto, CA.

  9. [9]

    P.Gritzmann and B.Mohar,private communication.

  10. [10]

    G.Grünbaum,Convex Polytopes, John Wiley.

  11. [11]

    J. Hopcroft andR. Tarjan, Efficient planarity testing,J. Comput. Mach.,21 (1974), 549–568.

    Google Scholar 

  12. [12]

    F. T.Leighton,Complexity Issues in VLSI, The MIT Press.

  13. [13]

    B.Mohar,private communication.

  14. [14]

    R. H. J. M.Otten and J. G.van Wijk, Graph representation in interactive layout design, inProceedings of the IEEE International Symposium on Circuits and Systems,1978, 914–918.

  15. [15]

    P.Rosenstiehl, Embedding in the plane with orientation constraints,Ann. N. Y. Acad. Sci. (to appear).

  16. [16]

    R. C.Read, A new method for drawing a planar graph given the cyclic order of the edges at each vertex,Congressus Numerantium,56 31–44.

  17. [17]

    P. Rosenstiehl andR. E. Tarjan, Rectilinear planar layouts and bipolar orientations of planar graphs,Disc. Comp. Geom.,1 (1986), 343–353.

    Google Scholar 

  18. [18]

    W. W.Schnyder,Planar Graphs and Poset Dimension (to appear).

  19. [19]

    R. Tommasia andI. G. Tollis, A unified approach to visibility representations of planar graphs,Disc. Comp. Geom.,1 (1986), 321–341.

    Google Scholar 

  20. [20]

    W. T. Tutte, How to draw a graph,Proc. London Math. Soc,13 (1963), 743–768.

    Google Scholar 

  21. [21]

    J. D.Ullman, Computational Aspects of VLSI,Computer Science Press.

  22. [22]

    L. G.Valiant, Universality considerations in VLSI circuits,IEEE Trans. on Computers,C-30, 135–140.

  23. [23]

    D. R. Woods,Drawing planar graphs, in Report N. STAN-CS-82-943, Computer Science Department, Stanford University, CA,1981.

    Google Scholar 

Download references

Author information

Affiliations

Authors

Additional information

Supported in part by P. R. C. Mathematiques et Informatique.

Supported in part by HSF grant 1814.

Part of the work on this paper was done while this author was on sabbatical leave at école Normal Supérieure and école des Hautes études en Sciences Sociales; supported in part by NSF grant DMS-850 1947.

Rights and permissions

Reprints and Permissions

About this article

Cite this article

De Fraysseix, H., Pach, J. & Pollack, R. How to draw a planar graph on a grid. Combinatorica 10, 41–51 (1990). https://doi.org/10.1007/BF02122694

Download citation

AMS subject classification (1980)

  • 05C10
  • 05C35
  • 68E10