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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Bipartite 3-regular undirected graph (2019). http://reference.wolfram.com/language/ref/GraphData.html. Accessed 8 Aug 2019
Block graph. https://en.wikipedia.org/wiki/Block_graph (2019). Accessed 8 Aug 2019
Fullerene graphs. https://commons.wikimedia.org/wiki/Fullerene_graphs/ (2019). Accessed 8 Aug 2019
\(G_2\). http://haikuanalytics.com/portfolio/ (2019). Accessed 8 Aug 2019
K-tree. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.71.3875 (2019). Accessed 8 Aug 2019
Planar graph. https://arxiv.org/pdf/1707.08833.pdf (2019), page 18. Accessed 8 Aug 2019
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
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
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
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
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
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
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)
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
Eades, P.: A heuristic for graph drawing. Congressus Numerantium 42, 149–160 (1984)
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
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
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
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
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
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
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
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
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
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
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
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
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
Hu, Y.: Efficient, high-quality force-directed graph drawing. Math. J. 10(1), 37–71 (2006)
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
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
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
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
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
Kruskal, J.B., Seery, J.B.: Designing network diagrams. In: General Conference on Social Graphics, vol. 49, p. 22 (1980)
Kruskal, J.B., Wish, M.: Multidimensional Scaling. Sage Press, Thousand Oak (1978)
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
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
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
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
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)
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
Torgerson, W.S.: Multidimensional scaling: I. theory and method. Psychometrika 17(4), 401–419 (1952). https://doi.org/10.1007/BF02288916
Turing, A.: Computing machinery and intelligence. Mind 59(236), 433–460 (1950). https://doi.org/10.1093/mind/LIX.236.433
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
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
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
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
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
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)