Angular resolution (graph drawing)
In graph drawing, the angular resolution of a drawing of a graph refers to the sharpest angle formed by any two edges that meet at a common vertex of the drawing.
Relation to vertex degree
Formann et al. (1993) observed that every straight-line drawing of a graph with maximum degree d has angular resolution at most 2π/d: if v is a vertex of degree d, then the edges incident to v partition the space around v into d wedges with total angle 2π, and the smallest of these wedges must have an angle of at most 2π/d. More strongly, if a graph is d-regular, it must have angular resolution less than , because this is the best resolution that can be achieved for a vertex on the convex hull of the drawing.
Relation to graph coloring
As Formann et al. (1993) showed, the largest possible angular resolution of a graph G is closely related to the chromatic number of the square G2, the graph on the same vertex set in which pairs of vertices are connected by an edge whenever their distance in G is at most two. If G2 can be colored with χ colors, then G may be drawn with angular resolution π/χ − ε, for any ε > 0, by assigning distinct colors to the vertices of a regular χ-gon and placing each vertex of G close to the polygon vertex with the same color. Using this construction, they showed that every graph with maximum degree d has a drawing with angular resolution proportional to 1/d2. This bound is close to tight: they used the probabilistic method to prove the existence of graphs with maximum degree d whose drawings all have angular resolution .
Existence of optimal drawings
Formann et al. (1993) provided an example showing that there exist graphs that do not have a drawing achieving the maximum possible angular resolution; instead, these graphs have a family of drawings whose angular resolutions tend towards some limiting value without reaching it. Specifically, they exhibited an 11-vertex graph that has drawings of angular resolution π/3 − ε for any ε > 0, but that does not have a drawing of angular resolution exactly π/3.
Special classes of graphs
Every tree may be drawn in such a way that the edges are equally spaced around each vertex, a property known as perfect angular resolution. Moreover, if the edges may be freely permuted around each vertex, then such a drawing is possible, without crossings, with all edges unit length or higher, and with the entire drawing fitting within a bounding box of polynomial area. However, if the cyclic ordering of the edges around each vertex is already determined as part of the input to the problem, then achieving perfect angular resolution with no crossings may sometimes require exponential area.
Perfect angular resolution is not always possible for outerplanar graphs, because vertices on the convex hull of the drawing with degree greater than one cannot have their incident edges equally spaced around them. Nonetheless, every outerplanar graph of maximum degree d has an outerplanar drawing with angular resolution proportional to 1/d.
For planar graphs with maximum degree d, the square-coloring technique of Formann et al. (1993) provides a drawing with angular resolution proportional to 1/d, because the square of a planar graph must have chromatic number proportional to d. More precisely, Wegner conjectured in 1977 that the chromatic number of the square of a planar graph is at most , and it is known that the chromatic number is at most . However, the drawings resulting from this technique are generally not planar.
For some planar graphs, the optimal angular resolution of a planar straight-line drawing is O(1/d3), where d is the degree of the graph. Additionally, such a drawing may be forced to use very long edges, longer by an exponential factor than the shortest edges in the drawing. Malitz & Papakostas (1994) used the circle packing theorem to show that every planar graph with maximum degree d has a planar drawing whose angular resolution is at worst an exponential function of d, independent of the number of vertices in the graph.
It is NP-hard to determine whether a given graph of maximum degree d has a drawing with angular resolution 2π/d, even in the special case that d = 4. However, for certain restricted classes of drawings, including drawings of trees in which extending the leaves to infinity produces a convex subdivision of the plane as well as drawings of planar graphs in which each bounded face is a centrally-symmetric polygon, a drawing of optimal angular resolution may be found in polynomial time.
Angular resolution was first defined by Formann et al. (1993).
Although originally defined only for straight-line drawings of graphs, later authors have also investigated the angular resolution of drawings in which the edges are polygonal chains, circular arcs, or spline curves.
The angular resolution of a graph is closely related to its crossing resolution, the angle formed by crossings in a drawing of the graph. In particular, RAC drawing seeks to ensure that these angles are all right angles, the largest crossing angle possible.
- Duncan et al. (2011); Halupczok & Schulz (2011).
- Malitz & Papakostas (1994); Garg & Tamassia (1994).
- Kramer & Kramer (2008); Molloy & Salavatipour (2005).
- Garg & Tamassia (1994).
- Formann et al. (1993); Garg & Tamassia (1995).
- Carlson & Eppstein (2007); Eppstein & Wortman (2011).
- Kant (1996); Gutwenger & Mutzel (1998).
- Cheng et al. (1999); Duncan et al. (2011).
- Brandes, Shubina & Tamassia (2000); Finkel & Tamassia (2005).
- Didimo, Eades & Liotta (2009).
- Brandes, Ulrik; Shubina, Galina; Tamassia, Roberto (2000), "Improving angular resolution in visualizations of geographic networks", Data Visualization 2000: Proceedings of the Joint Eurographics and IEEE TCVG Symposium on Visualization in Amsterdam, The Netherlands, May 29-31, 2000.
- Carlson, Josiah; Eppstein, David (2007), "Trees with convex faces and optimal angles", in Kaufmann, Michael; Wagner, Dorothea, Proc. 14th Int. Symp. Graph Drawing (GD'06), LNCS, 4372, Springer-Verlag, pp. 77–88, arXiv: , doi:10.1007/978-3-540-70904-6_9.
- Cheng, C. C.; Duncan, C. A.; Goodrich, M. T.; Kobourov, S. G. (1999), "Drawing planar graphs with circular arcs", Graph Drawing, 7th International Symposium, GD'99, Štirín Castle, Czech Republic September 15–19, 1999, Proceedings, Lecture Notes in Computer Science, 1731, Springer-Verlag, pp. 117–126, doi:10.1007/3-540-46648-7_12.
- Didimo, Walter; Eades, Peter; Liotta, Giuseppe (2009), "Drawing graphs with right angle crossings", Algorithms and Data Structures: 11th International Symposium, WADS 2009, Banff, Canada, August 21-23, 2009. Proceedings, Lecture Notes in Computer Science, 5664, pp. 206–217, doi:10.1007/978-3-642-03367-4_19.
- Duncan, Christian A.; Eppstein, David; Goodrich, Michael T.; Kobourov, Stephen G.; Nöllenburg, Martin (2011), "Drawing trees with perfect angular resolution and polynomial area", in Brandes, Ulrik; Cornelsen, Sabine, Proc. 18th Int. Symp. Graph Drawing, Lecture Notes in Computer Science, 6502, Springer-Verlag, pp. 183–194, arXiv: , doi:10.1007/978-3-642-18469-7_17.
- Eppstein, D.; Wortman, K. (2011), "Optimal angular resolution for face-symmetric drawings", Journal of Graph Algorithms and Applications, 15 (4): 551–564, arXiv: , doi:10.7155/jgaa.00238.
- Finkel, Benjamin; Tamassia, Roberto (2005), "Curvilinear graph drawing using the force-directed method", Graph Drawing, 12th International Symposium, GD 2004, New York, NY, USA, September 29-October 2, 2004, Revised Selected Papers, Lecture Notes in Computer Science, 3383, Springer-Verlag, pp. 448–453, doi:10.1007/978-3-540-31843-9_46.
- Formann, M.; Hagerup, T.; Haralambides, J.; Kaufmann, M.; Leighton, F. T.; Symvonis, A.; Welzl, E.; Woeginger, G. (1993), "Drawing graphs in the plane with high resolution", SIAM Journal on Computing, 22 (5): 1035–1052, doi:10.1137/0222063, MR 1237161.
- Garg, Ashim; Tamassia, Roberto (1994), "Planar drawings and angular resolution: Algorithms and bounds", Algorithms, Second Annual European Symposium, Utrecht, The Netherlands, September 26–28, 1994, Proceedings, Lecture Notes in Computer Science, 855, Springer-Verlag, pp. 12–23, doi:10.1007/BFb0049393.
- Garg, Ashim; Tamassia, Roberto (1995), "On the computational complexity of upward and rectilinear planarity testing", in Tamassia, Roberto; Tollis, Ioannis, Graph Drawing, Lecture Notes in Computer Science, 894, Springer Berlin / Heidelberg, pp. 286–297, doi:10.1007/3-540-58950-3_384.
- Gutwenger, Carsten; Mutzel, Petra (1998), "Planar polyline drawings with good angular resolution", Graph drawing (Montréal, QC, 1998), Lecture Notes in Comput. Sci., 1547, Berlin: Springer, pp. 167–182, doi:10.1007/3-540-37623-2_13, MR 1717450.
- Halupczok, Immanuel; Schulz, André (2011), "Pinning balloons with perfect angles and optimal area", Proceedings of the 19th International Symposium on Graph Drawing.
- Kant, G. (1996), "Drawing planar graphs using the canonical ordering", Algorithmica, 16 (1): 4–32, doi:10.1007/s004539900035, MR 1394492.
- Kramer, Florica; Kramer, Horst (2008), "A survey on the distance-colouring of graphs", Discrete Mathematics, 308 (2-3): 422–426, doi:10.1016/j.disc.2006.11.059, MR 2378044.
- Malitz, Seth; Papakostas, Achilleas (1994), "On the angular resolution of planar graphs", SIAM Journal on Discrete Mathematics, 7 (2): 172–183, doi:10.1137/S0895480193242931, MR 1271989.
- Molloy, Michael; Salavatipour, Mohammad R. (2005), "A bound on the chromatic number of the square of a planar graph", Journal of Combinatorial Theory, Series B, 94 (2): 189–213, doi:10.1016/j.jctb.2004.12.005, MR 2145512.