Reference articles on history, science, culture and more
Encyclopedia

String graph

Intersection graph for curves in the plane

In graph theory, a string graph is an intersection graph of curves in the plane; each curve is called a "string". Given a graph G, G is a string graph if and only if there exists a set of curves, or strings, such that the graph having a vertex for each curve and an edge for each intersecting pair of curves is isomorphic to G.

01Background

Seymour Benzer (1959) described a concept similar to string graphs as they applied to genetic structures. In that context, he also posed the specific case of intersecting intervals on a line, namely the now-classical family of interval graphs. Later, Sinden (1966) specified the same idea to electrical networks and printed circuits. The mathematical study of string graphs began with the paper Ehrlich, Even & Tarjan (1976) and through a collaboration between Sinden and Ronald Graham, where the characterization of string graphs eventually came to be posed as an open question at the 5th Hungarian Colloquium on Combinatorics in 1976. However, the recognition of string graphs was eventually proven to be NP-complete, implying that no simple characterization is likely to exist.

Representation of a planar graph as a string graph.
Representation of a planar graph as a string graph.

03Computational complexity

Kratochvíl (1991b) showed string graph recognition to be NP-hard, but was not able to show that it could be solved in NP. One barrier to solving the problem in NP is that, for some string graphs, all systems of curves that realize the graph have an exponential number of crossings, so an explicit realization cannot be used as a polynomial-size witness for the graph being a string graph. Instead, subsequent research in this area focused on compressed descriptions of realizations in terms of the sequences of crossings on each string, described using the theory of formal languages. After intermediate results by Schaefer & Štefankovič (2001) and Pach & Tóth (2002), Schaefer, Sedgwick & Štefankovič (2003) completed the proof that the problem is in NP, and therefore is NP-complete.

Ehrlich, Even & Tarjan (1976) showed that testing whether a string graph is k-colorable is NP-complete, for every k\geq 3, and even when restricted to graphs with a given string representation consisting of straight line segments. 3-colorings of string graphs, when they exist, can be found in the subexponential time bound 2^{O(n^{2/3}\log n)}, but a similarly fast time for more colors is unlikely, under standard complexity-theoretic assumptions: an algorithm for 4-coloring in time 2^{o(n)} would contradict the exponential time hypothesis.

A subdivision of K5 that is not a string graph.
A subdivision of K5 that is not a string graph.

04Other results

The smallest graph that is not a string graph has 12 vertices.

Kratochvíl (1991a) observed that induced minors of string graphs are also string graphs. Induced minors are obtained from a given graph by contracting edges and deleting vertices; unlike the more general form of graph minor they do not allow deleting edges. For graph minors, the Robertson-Seymour theorem states that any graph property closed under minors has finitely many minimal forbidden minors. However, this does not hold for induced minors, and Kratochvíl found an infinite family of minimal forbidden induced minors for string graphs.

Analogously to the planar separator theorem, every m-edge string graph can be partitioned into two subsets, each a constant fraction the size of the whole graph, by the removal of O(m^{3/4}\log ^{1/2}m) vertices. It follows that the biclique-free string graphs, string graphs containing no K_{t,t} subgraph for some constant t, have O(n) edges and more strongly have polynomial expansion.

Watch videos about String graphExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article String graph, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Images, from Wikimedia Commons:

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.