Skip to main content

The Turing Test for Graph Drawing Algorithms

  • Conference paper
  • First Online:
Graph Drawing and Network Visualization (GD 2020)

Abstract

Do algorithms for drawing graphs pass the Turing Test? That is, are their outputs indistinguishable from graphs drawn by humans? We address this question through a human-centred experiment, focusing on ‘small’ graphs, of a size for which it would be reasonable for someone to choose to draw the graph manually. Overall, we find that hand-drawn layouts can be distinguished from those generated by graph drawing algorithms, although this is not always the case for graphs drawn by force-directed or multi-dimensional scaling algorithms, making these good candidates for Turing Test success. We show that, in general, hand-drawn graphs are judged to be of higher quality than automatically generated ones, although this result varies with graph size and algorithm.

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 EPUB and 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

References

  1. Bipartite 3-regular undirected graph (2019). http://reference.wolfram.com/language/ref/GraphData.html. Accessed 8 Aug 2019

  2. Block graph. https://en.wikipedia.org/wiki/Block_graph (2019). Accessed 8 Aug 2019

  3. Fullerene graphs. https://commons.wikimedia.org/wiki/Fullerene_graphs/ (2019). Accessed 8 Aug 2019

  4. \(G_2\). http://haikuanalytics.com/portfolio/ (2019). Accessed 8 Aug 2019

  5. K-tree. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.71.3875 (2019). Accessed 8 Aug 2019

  6. Planar graph. https://arxiv.org/pdf/1707.08833.pdf (2019), page 18. Accessed 8 Aug 2019

  7. Allender, S., et al.: A community based systems diagram of obesity causes. PLoS ONE 10(7), e0129683 (2015). https://doi.org/10.1371/journal.pone.0129683

  8. Bartel, G., Gutwenger, C., Klein, K., Mutzel, P.: An experimental evaluation of multilevel layout methods. In: Brandes, U., Cornelsen, S. (eds.) Proceedings of Graph Drawing (GD 2010). LNCS, vol. 6502, pp. 80–91 (2011). https://doi.org/10.1007/978-3-642-18469-7_8

  9. Baur, M., Brandes, U.: Crossing reduction in circular layouts. In: Hromkovič, J., Nagl, M., Westfechtel, B. (eds.) Graph-Theoretic Concepts in Computer Science (WG 2004). LNCS, vol. 3353, pp. 332–343. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-30559-0_28

  10. Biedl, T., Kant, G.: A better heuristic for orthogonal graph drawings. Comput. Geom. Theory Appl. 9(3), 159–180 (1998). https://doi.org/10.1016/S0925-7721(97)00026-6

    Article  MathSciNet  MATH  Google Scholar 

  11. Biedl, T.C., Madden, B.P., Tollis, I.G.: The three-phase method: a unified approach to orthogonal graph drawing. Int. J. Comput. Geom. Appl. 10(6), 553–580 (2000). https://doi.org/10.1142/S0218195900000310

    Article  MathSciNet  MATH  Google Scholar 

  12. Brandes, U., Pich, C.: Eigensolver methods for progressive multidimensional scaling of large data. In: Proceedings of Graph Drawing. LNCS, vol. 4372, pp. 42–53. Springer (2007). https://doi.org/10.1007/978-3-540-70904-6_6

  13. Di Battista, G., Eades, P., Tamassia, R., Tollis, I.G.: Graph Drawing: Algorithms for the Visualization of Graphs. 1st edn. Prentice Hall, Upper Saddle River (1998)

    Google Scholar 

  14. Dwyer, T., et al.: A comparison of user-generated and automatic graph layouts. IEEE Trans. Vis. Comput. Graph. 15(6), 961–968 (2009). https://doi.org/10.1109/TVCG.2009.109

    Article  Google Scholar 

  15. Eades, P.: A heuristic for graph drawing. Congressus Numerantium 42, 149–160 (1984)

    MathSciNet  Google Scholar 

  16. Eiglsperger, M., Fekete, S.P., Klau, G.W.: Orthogonal graph drawing. In: Kaufmann, M., Wagner, D. (eds.) Drawing Graphs: Methods and Models, LNCS, vol. 2025, chap. 6, pp. 121–171. Springer-Verlag (2001). https://doi.org/10.1007/3-540-44969-8_6

  17. Ellson, J., Gansner, E.R., Koutsofios, E., North, S.C., Woodhull, G.: Graphviz - open source graph drawing tools. In: Proceedings of Graph Drawing (GD 2001). LNCS, vol. 2265, pp. 483–484 (2002). https://doi.org/10.1007/3-540-45848-4_57

  18. Frishman, Y., Tal, A.: Online dynamic graph drawing. IEEE Trans. Vis. Comput. Graph. 14(4), 727–740 (2008). https://doi.org/10.1109/TVCG.2008.11

  19. Fruchterman, T.M.J., Reingold, E.M.: Graph drawing by force directed placement. Softw. Pract. Experience 21, 1129–1164 (1991). https://doi.org/10.1002/spe.4380211102

  20. Fößmeier, U., Kaufmann, M.: Algorithms and area bounds for nonplanar orthogonal drawings. In: Di Battista, G. (ed.) Proceedings of Graph Drawing (GD1997). LNCS, vol. 1353, pp. 134–145. Springer (1997). https://doi.org/10.1007/3-540-63938-1_57

  21. Gajer, P., Kobourov, S.: GRIP: graph dRawing with intelligent placement. J. Graph Algorithms Appl. 6(3), 203–224 (2002). https://doi.org/10.7155/jgaa.00052

    Article  MathSciNet  MATH  Google Scholar 

  22. Gansner, E.R., Hu, Y., Krishnan, S.: COAST: a convex optimization approach to stress-based embedding. In: Wismath, S., Wolff, A. (eds.) GD 2013. LNCS, vol. 8242, pp. 268–279. Springer, Cham (2013). https://doi.org/10.1007/978-3-319-03841-4_24

    Chapter  Google Scholar 

  23. Gansner, E.R., Hu, Y., North, S.: A maxent-stress model for graph layout. IEEE Trans. Vis. Comput. Graph. 19(6), 927–940 (2013). https://doi.org/10.1109/TVCG.2012.299

  24. Gansner, E.R., Koren, Y.: Improved circular layouts. In: Kaufmann, M., Wagner, D. (eds.) GD 2006. LNCS, vol. 4372, pp. 386–398. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-70904-6_37

    Chapter  Google Scholar 

  25. Gibson, H., Faith, J., Vickers, P.: A survey of two-dimensional graph layout techniques for information visualisation. Inf. Vis. 12(3–4), 324–357 (2013). https://doi.org/10.1177/1473871612455749

    Article  Google Scholar 

  26. Hadany, R., Harel, D.: A multi-scale algorithm for drawing graphs nicely. Discrete Appl. Math. 113(1), 3–21 (2001). https://doi.org/10.1016/S0166-218X(00)00389-9

    Article  MathSciNet  MATH  Google Scholar 

  27. van Ham, F., Rogowitz, B.E.: Perceptual organization in user-generated graph layouts. IEEE Trans. Vis. Comput. Graph. 14(6), 1333–1339 (2008). https://doi.org/10.1109/TVCG.2008.155

    Article  Google Scholar 

  28. Harel, D., Koren, Y.: A fast multi-scale method for drawing large graphs. J. Graph Algorithms Appl. 6, 179–202 (2002). https://doi.org/10.7155/jgaa.00051

  29. Hu, Y.: Efficient, high-quality force-directed graph drawing. Math. J. 10(1), 37–71 (2006)

    Google Scholar 

  30. Isenberg, T., Neumann, P., Carpendale, S., Sousa, M.C., Jorge, J.A.: Non-photorealistic rendering in context: an observational study. In: Non-Photorealistic Animation and Rendering (NPAR 2006), pp. 115–126. ACM (2006). https://doi.org/10.1145/1124728.1124747

  31. Kamada, T., Kawai, S.: An algorithm for drawing general undirected graphs. Inf. Process. Lett. 31(1), 7–15 (1989). https://doi.org/10.1016/0020-0190(89)90102-6

    Article  MathSciNet  MATH  Google Scholar 

  32. Kieffer, S., Dwyer, T., Marriott, K., Wybrow, M.: HOLA: human-like orthogonal network layout. IEEE Trans. Vis. Comput. Graph. 22(1), 349–358 (2016). https://doi.org/10.1109/TVCG.2015.2467451

    Article  Google Scholar 

  33. Klawitter, J., Mchedlidze, T., Nöllenburg, M.: Experimental evaluation of book drawing algorithms. In: Frati, F., Ma, K.-L. (eds.) GD 2017. LNCS, vol. 10692, pp. 224–238. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-73915-1_19

    Chapter  MATH  Google Scholar 

  34. Koren, Y., Carmel, L., Harel, D.: ACE: A fast multiscale eigenvectors computation for drawing huge graphs. In: Proceedings of IEEE Symposium on Information Visualization, pp. 137–144. IEEE (2002). https://doi.org/10.1109/INFVIS.2002.1173159

  35. Kruskal, J.B., Seery, J.B.: Designing network diagrams. In: General Conference on Social Graphics, vol. 49, p. 22 (1980)

    Google Scholar 

  36. Kruskal, J.B., Wish, M.: Multidimensional Scaling. Sage Press, Thousand Oak (1978)

    Google Scholar 

  37. Masuda, S., Nakajima, K., Kashiwabara, T., Fujisawa, T.: Crossing minimization in linear embeddings of graphs. IEEE Trans. Comput. 39(1), 124–127 (1990). https://doi.org/10.1109/12.46286

    Article  MathSciNet  MATH  Google Scholar 

  38. Purchase, H.C., Cohen, R.F., James, M.: Validating graph drawing aesthetics. In: Brandenburg, F.J. (ed.) GD 1995. LNCS, vol. 1027, pp. 435–446. Springer, Heidelberg (1996). https://doi.org/10.1007/BFb0021827

    Chapter  Google Scholar 

  39. Purchase, H.: Which aesthetic has the greatest effect on human understanding? In: DiBattista, G. (ed.) GD 1997. LNCS, vol. 1353, pp. 248–261. Springer, Heidelberg (1997). https://doi.org/10.1007/3-540-63938-1_67

    Chapter  Google Scholar 

  40. Purchase, H.C., Pilcher, C., Plimmer, B.: Graph drawing aesthetics created by users, not algorithms. IEEE Trans. Vis. Comput. Graph. 18(1), 81–92 (2012). https://doi.org/10.1109/TVCG.2010.269

    Article  Google Scholar 

  41. Six, J.M., Tollis, I.G.: Circular drawing algorithms. In: Tamassia, R. (ed.) Handbook of Graph Drawing and Visualization, chap. 9, pp. 285–315. CRC Press, Boca Raton (2013)

    Google Scholar 

  42. Tamassia, R.: On embedding a graph in the grid with the minimum number of bends. SIAM J. Comput. 16(3), 421–444 (1987). https://doi.org/10.1137/0216030

    Article  MathSciNet  MATH  Google Scholar 

  43. Torgerson, W.S.: Multidimensional scaling: I. theory and method. Psychometrika 17(4), 401–419 (1952). https://doi.org/10.1007/BF02288916

  44. Turing, A.: Computing machinery and intelligence. Mind 59(236), 433–460 (1950). https://doi.org/10.1093/mind/LIX.236.433

    Article  MathSciNet  Google Scholar 

  45. Wang, Y., et al.: Revisiting stress majorization as a unified framework for interactive constrained graph visualization. IEEE Trans. Vis. Comput. Graph. 24(1), 489–499 (2018). https://doi.org/10.1109/TVCG.2017.2745919

  46. Wiese, R., Eiglsperger, M., Kaufmann, M.: yFiles: visualization and automatic layout of graphs. In: Proceedings of Graph Drawing (GD 2001), pp. 453–454. LNCS (2002). https://doi.org/10.1007/978-3-642-18638-7_8

  47. Zachary, W.W.: An information flow model for conflict and fission in small groups. J. Anthropol. Res. 33, 452–473 (1977). https://doi.org/10.1086/jar.33.4.3629752, https://www.cise.ufl.edu/research/sparse/matrices/Newman/karate.html

Download references

Acknowledgement

We are grateful to all the experimental participants, to Drew Sheets who assisted with creating the graphs in yEd, and to John Hamer who implemented the online experimental system. Ethical approval was given by the University of Arizona Institutional Review Board (ref: 1712113015). This work is supported by NSF grants CCF-1740858, CCF-1712119, DMS-1839274, and FWF grant P 31119.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Daniel Archambault .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Purchase, H.C., Archambault, D., Kobourov, S., Nöllenburg, M., Pupyrev, S., Wu, HY. (2020). The Turing Test for Graph Drawing Algorithms. In: Auber, D., Valtr, P. (eds) Graph Drawing and Network Visualization. GD 2020. Lecture Notes in Computer Science(), vol 12590. Springer, Cham. https://doi.org/10.1007/978-3-030-68766-3_36

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-68766-3_36

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-68765-6

  • Online ISBN: 978-3-030-68766-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics