Skip to main content
Log in

Drawing orders using less ink

  • Published:
Order Aims and scope Submit manuscript

Abstract

An algorithm is presented to draw Hasse-diagrams of partially ordered sets (orders). It uses two heuristic principles to generate ‘good’ pictures for a wide range of orders. These two principles are (i) The total length of all edges of the diagram should be small (with the vertices kept at a minimal distance) and (ii) the vertices are constrained to coincide with the grid points of a given rectangular planar grid. The benefits are quite straightforward sine (i) using less ink means less confusion and (ii) the restriction to grid points tends to keep the number of different slopes small. Since the program was conceived as a readily usable tool (with the emphasis on results rather than on perfection), we are well aware of the fact that it will lend itself easily to improvements in many aspects.

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.

Similar content being viewed by others

References

  1. Brandenburg, F. J. (1989) On the Complexity of Optimal Drawings of Graphs, Preprint, Univ. Passau.

  2. Bhatt S. N. and Cosmadakis S. S. (1987) The Complexity of Minimizing Wire Lengths in VLSI Layouts, Inf. Process. Letters 25, 263–267.

    Google Scholar 

  3. Czyzowicz J. (1991) Lattice Diagrams with Few Slopes, J. Comb. Theory Series A 56, 96–108.

    Google Scholar 

  4. Czyzowicz, J., Pelc, A., Rival, I., and Urrutia, J. (1987) Crooked Diagrams with Few Slopes, Tech. Rep. TR-87-26, University of Ottawa.

  5. Ferber, K. and Jürgensen, H. (1969) A Programme for the Drawing of Lattices, in J. Leech (ed.), Computational Problems in Abstract Algebra, Oxford, pp. 83–87.

  6. Grätzer G. (1971) Lattice Theory—First Concepts and Distributive Lattices, Freeman, San Francisco, ISBN 0-7167-0442-0.

    Google Scholar 

  7. Janes R. and Gaskill H. (1986) An Algorithm for the Generation and Display of Finite Geometric Lattices, Congressus Numerantium 52, 125–145.

    Google Scholar 

  8. Jürgensen, H. and Loewer, J. (1979) Drawing Hasse Diagrams of Partially Ordered Sets, Preprint.

  9. Kipke, U. and Wille, R. (1987) Formale Begriffsanalyse erläutert an einem Wortfeld, Preprint Nr. 1046, TH Darmstadt.

  10. Kyuno S. (1979) An Inductive Algorithm to Construct Finite Lattices, Math. Comp. 33, 409–421.

    Google Scholar 

  11. Pelc A. and Rival I. (1991) Orders with Level Diagrams, Eur. J. Comb. 12, 61–68.

    Google Scholar 

  12. Reingold E. M. and Tilford J. S. (1981). Tidier Drawings of Trees, IEEE Trans. on SW Eng. SE-7 2, 223–228.

    Google Scholar 

  13. Rival I. (1985) The Diagram, in Graphs and Orders, Reidel Publ. Co., Dordrecht, pp. 103–133.

    Google Scholar 

  14. Supovit K. J. and Reingold E. M. (1983) The Complexity of Drawing Trees Nicely, Acta Informatica 18, 377–392.

    Google Scholar 

  15. Tamassia R. (1987) On Embedding a Graph in the Minimum Number of Bends, SIAM J. Comput. 16: 421–444.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

Communicated by I. Rival

Rights and permissions

Reprints and permissions

About this article

Cite this article

Aeschlimann, A., Schmid, J. Drawing orders using less ink. Order 9, 5–13 (1992). https://doi.org/10.1007/BF00419035

Download citation

  • Received:

  • Accepted:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF00419035

Mathematics Subject Classifications (1991)

Key words

Navigation