---
title: Segment Graph Representation
url: https://www.emergentmind.com/topics/segment
type: topic
---

# Segment Graph Representation

A segment representation of a graph \(G=(V,E)\) assigns to each vertex \(v\in V\) a line segment \(s(v)\) in the plane such that two segments intersect if and only if the corresponding vertices are adjacent. “Segment representations with small resolution” studies not the existence problem in general, but the integer-grid resolution needed when such a representation exists. Its main theorem states that any graph with an \(L\)-representation, and in particular any planar graph, has a segment representation on an integer grid of width and height \(4^n\), where \(n=|V|\) [1810.07072].

## 1. Problem setting and complexity motivation

For a graph \(G=(V,E)\), a segment representation is an assignment \(v\mapsto s(v)\) of line segments in \(\mathbb{R}^2\) such that
\[
s(v)\cap s(w)\neq \emptyset \quad\text{if and only if}\quad (v,w)\in E.
\]
Not all graphs admit such a representation, but planar graphs do [1810.07072].

The central parameter is the **resolution** of the representation under the assumption that segment endpoints lie on integer grid points. Since endpoints can be perturbed to rational coordinates and then scaled, one may assume integer endpoints without loss of generality. The resolution is then the width and height of an integer grid containing all segment endpoints [1810.07072].

This question is motivated by compact encodability. Low resolution means that a representation can be described with few bits, whereas very large coordinates may be unavoidable for some graph classes. The note also gives a complexity-theoretic reason that bounded resolution is meaningful: if every segment graph had a representation of exponential resolution, then the representation could be encoded with polynomially many bits, which would place the recognition problem in NP. Since segment graph recognition is \(\exists\mathbb{R}\)-hard, the general existence of such bounds is considered unlikely [1810.07072].

## 2. \(L\)-representations and the covered graph classes

The theorem applies to graphs that admit an \(L\)-representation. In the form used here, an \(L\)-representation is a string representation in which every vertex is drawn as an axis-aligned \(L\)-shape consisting of one horizontal segment and one vertical segment sharing a common endpoint. After a \(180^\circ\) rotation, each \(L\)-shape becomes the union of the **top side** and **right side** of its axis-aligned bounding box [1810.07072].

A vertex \(v\) is described by four integers
\[
\ell,b,r,t\in\{1,\dots,2n\},
\]
with bounding box
\[
[\ell,r]\times[b,t].
\]
The corresponding rotated \(L\)-shape consists of:
- the top horizontal segment from \((\ell,t)\) to \((r,t)\),
- the right vertical segment from \((r,b)\) to \((r,t)\).

Before the segment construction, the representation is normalized so that:
1. no endpoint of an \(L\) lies on another \(L\),
2. every horizontal and vertical arm has positive length,
3. all endpoint coordinates are distinct,
4. after re-ranking coordinates, all \(x\)- and \(y\)-coordinates lie in \(\{0,\dots,2n-1\}\), equivalently \(\{1,\dots,2n\}\) after indexing shift [1810.07072].

This preserves the represented graph because only relative order matters. The relevance of \(L\)-representations is that every planar graph has one, via earlier planar-graph representation machinery used in Gonçalvez–Isenburg–Pennarun’s proof of Scheinerman’s conjecture. Consequently, the main theorem immediately yields a bounded-resolution segment representation for every planar graph [1810.07072].

## 3. Exponential coordinate transform and explicit construction

The construction replaces each rotated \(L\)-shape by a diagonal segment whose slope depends exponentially on the top and right coordinates of the bounding box. For a vertex \(v\) with parameters \((\ell,b,r,t)\), define a long diagonal
\[
d(v)
\]
as the segment from
\[
(0,2^t)\quad \text{to}\quad (2^r,0).
\]
Equivalently, \(d(v)\) is the downward diagonal of the rectangle
\[
[0,2^r]\times[0,2^t],
\]
and its slope is
\[
-2^{\,t-r}.
\]

The actual segment \(s(v)\) is obtained by pruning \(d(v)\) to the two halfspaces
\[
\{x\ge 2^\ell\}\quad\text{and}\quad \{y\ge 2^b\}.
\]
Thus \(s(v)\) is the portion of \(d(v)\) that remains after clipping at the vertical line \(x=2^\ell\) and the horizontal line \(y=2^b\) [1810.07072].

The resulting endpoints are
\[
\left(2^\ell,\; 2^t-2^{\,t-(r-\ell)}\right)
\]
and
\[
\left(2^r-2^{\,r-(t-b)},\; 2^b\right).
\]
These are integer grid points because all exponents are integers. The construction is therefore explicit and constructive: once an \(L\)-representation is given, the segment endpoints are directly computable [1810.07072].

The geometric purpose of the exponential map \(x\mapsto 2^x\), \(y\mapsto 2^y\) is to separate coordinates exponentially. This produces controlled slope differences among the diagonals and is the mechanism that allows adjacency information in the \(L\)-representation to be recovered as segment intersection.

## 4. Correctness: no false positives and no false negatives

The proof has two complementary lemmas. The first establishes that if two constructed segments intersect, then the corresponding vertices are adjacent. Let
\[
(v)=\{\ell,b,r,t\},\qquad (w)=\{L,B,R,T\},
\]
and assume \(t>T\). If also \(r>R\), then the diagonals \(d(v)\) and \(d(w)\) have the same order on both axes, so they cannot cross. Therefore an intersection can occur only when \(r<R\) and \(t>T\). If \(r<L\), then \(s(v)\) lies entirely left of \(s(w)\); if \(b>T\), then \(s(v)\) lies entirely above \(s(w)\). Hence intersection forces
\[
L<r<R \quad\text{and}\quad b<T<t.
\]
Then \((r,T)\) lies on the vertical arm of \(v\) and on the horizontal arm of \(w\), so the original \(L\)-shapes intersect. This shows that the segment construction creates no false positives [1810.07072].

The converse lemma states that if \((v,w)\in E\), then \(s(v)\) and \(s(w)\) intersect. After renaming, one may assume the intersection in the \(L\)-representation occurs between the vertical arm of \(v\) and the horizontal arm of \(w\), so
\[
L<r<R \quad\text{and}\quad b<T<t.
\]
Because coordinates are integral and distinct, this sharpens to
\[
L+1\le r\le R-1,\qquad b+1\le T\le t-1.
\]

The unpruned diagonals satisfy
\[
y = 2^t - 2^{\,t-r}x
\quad\text{and}\quad
y = 2^T - 2^{\,T-R}x,
\]
so they cross at some point \((x^*,y^*)\). The proof derives bounds implying
\[
x^*\ge 2^L \quad\text{and}\quad x^*\ge 2^\ell,
\]
and symmetrically
\[
y^*\ge 2^b \quad\text{and}\quad y^*\ge 2^B.
\]
Thus the crossing survives both left-pruning and bottom-pruning, so it lies on both \(s(v)\) and \(s(w)\). This shows that the construction creates no false negatives [1810.07072].

Together, these lemmas prove that \(v\mapsto s(v)\) is a correct segment representation.

## 5. Resolution bound, comparison with earlier work, and the \(\{L,\Gamma\}\) extension

After normalization, all box parameters satisfy
\[
\ell,b,r,t\in\{1,\dots,2n\}.
\]
Since every endpoint coordinate in the construction is built from numbers of the form \(2^k\), all coordinates are on the order of \(2^{2n}\). The note states more precisely that the coordinates lie in
\[
1,\dots,2^{2n-1},
\]
so the width and height are bounded by
\[
2^{2n}=4^n
\]
up to a harmless factor of \(2\). The theorem is therefore stated cleanly as a \(4^n\)-resolution bound [1810.07072].

This is an upper bound, not a lower bound, and no claim of tightness is made. The contribution is not that graphs with \(L\)-representations are segment representable—that was already known from earlier work of Middendorf and Pfeiffer—but that one can guarantee a much smaller explicit resolution. The older approach yields only a much weaker bound of
\[
O((2n)^{2n}),
\]
whereas the new construction gives
\[
4^n.
\]

The note also treats the more general class of graphs with an \(\{L,\Gamma\}\)-representation, where a vertex may be represented either by an \(L\)-shape or by its horizontal reflection. For this larger class, the \(4^n\) construction does not seem to extend directly. Instead, the paper gives a different construction based on rectangles
\[
Q(v)=[\ell,r]\times[(2n)^b,(2n)^t],
\]
using one diagonal of \(Q(v)\), chosen according to whether the shape is an \(L\) or a reflected \(L\). This yields a segment representation of width \(2n\) and height \((2n)^{2n}\), hence overall resolution roughly \((2n)^{2n}\) [1810.07072].

## 6. Constructive significance, upstream planar machinery, and open problems

The theorem is explicitly constructive. Once an \(L\)-representation is available, one can normalize coordinates by rank, compute \((\ell,b,r,t)\) for each vertex, and output the segment endpoints using the stated formulas. The note does not emphasize formal running-time analysis, but the coordinate construction itself is straightforwardly polynomial-time once the \(L\)-representation is known [1810.07072].

Its relation to planar graph theory is upstream rather than internal. The note does not redevelop the machinery that yields \(L\)-representations for planar graphs; that role is played by earlier planar representation results, including the framework used in Gonçalvez–Isenburg–Pennarun’s proof of Scheinerman’s conjecture. The specific contribution here is the passage
\[
L\text{-representation} \;\Longrightarrow\; \text{segment representation with explicit bounded resolution}.
\]

Several open questions remain. The conclusion asks whether exponential resolution is actually necessary for planar graphs, or whether all planar graphs might admit polynomial-resolution segment representations. The same question is left open for the larger class of graphs with \(L\)-representations. It is also open whether every graph with an \(\{L,\Gamma\}\)-representation admits an exponential-resolution segment representation, whether one can explicitly construct a family of segment graphs with no exponential-resolution realization, and whether every segment graph has some bounded-resolution representation \(f(n)\) for a computable function \(f\) [1810.07072].

A plausible implication is that the note’s main importance lies in converting an existence theorem into a quantitatively controlled realization theorem. For planar graphs, segment representability was already known; what becomes explicit here is that one may realize such graphs by line segments on an integer grid of width and height at most \(4^n\), via a direct exponential coordinate transform from a normalized \(L\)-representation.

Source: https://www.emergentmind.com/topics/segment