# Angular resolution (graph drawing)

This drawing of a hypercube graph has angular resolution π/4.

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.

## Properties

### 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 , 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 $\frac{\pi}{d-1}$, 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 $O\left(\frac{\log d}{d^2}\right)$.

### 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

### Trees

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.[1]

### Outerplanar graphs

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.[2]

### Planar graphs

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 $\max\left(d+5, \frac{3d}{2}+1\right)$, and it is known that the chromatic number is at most $\frac{5d}{3}+O(1)$.[3] 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.[4] 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.

## Computational complexity

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.[5] 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.[6]

## History

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,[7] circular arcs,[8] or spline curves.[9]