Directed Convex Subgraphs
- Directed convex subgraphs are induced subdigraphs whose vertex sets remain closed under all geodesic paths, ensuring that every shortest directed path between vertices stays within the subgraph.
- They underpin key computational results by linking convexity concepts to NP-complete decision problems and informing strategies for strong orientation analysis.
- Applications in grids and modular graphs demonstrate how structured orientations yield precise convexity spectra and facilitate geometric and enumerative investigations.
Directed convex subgraphs are induced subdigraphs whose vertex sets are closed under a prescribed directed path system. In the geodesic framework for oriented graphs, which is the central graph-theoretic usage, a nonempty set of a connected oriented graph is convex if, for every pair , the vertex set of every -geodesic and every -geodesic is contained in ; the induced subdigraph is then a directed convex subgraph. This viewpoint leads to the convexity number , the convexity spectrum , and the strong convexity spectrum , and it supports both hardness results and exact spectrum theorems for grids (Araujo-Pardo et al., 2017). Taken together with later path-based and metric formulations, the literature suggests that directed convex subgraphs are best understood as a family of closure notions on digraphs rather than as a single universal definition.
1. Geodesic convexity in oriented graphs
Let 0 be an oriented graph, obtained by orienting each edge of a simple undirected graph in exactly one direction. The directed distance from 1 to 2, denoted 3, is the length of a shortest directed 4-path, and a 5-geodesic is any directed path of length 6. A nonempty set 7 is convex if for every pair 8, every vertex on every 9-geodesic and every 0-geodesic lies in 1. Equivalently,
2
The convex hull 3 of a nonempty set 4 is the intersection of all convex sets containing 5; thus 6 exactly when 7 is convex (Araujo-Pardo et al., 2017).
Within this framework, a directed convex subgraph is simply the induced subdigraph 8 where 9 is convex. Such a subgraph has the defining property that no geodesic between vertices of 0 is forced to leave 1. If 2 is a nontrivial connected oriented graph, the convexity number is
3
Every singleton is convex, so 4. For a connected undirected graph 5, the convexity spectrum and strong convexity spectrum are
6
and
7
If 8 admits no strong orientation, then 9. Each 0 therefore records the existence of a strong orientation of 1 having a proper directed convex subgraph on exactly 2 vertices.
2. Structural consequences in strong orientations
Convexity in strong orientations is tightly constrained. If 3 is strongly connected and 4 is convex with 5, then the induced subdigraph 6 is strongly connected. A direct consequence is that if 7 admits a strong orientation, then any proper convex set of size at least 8 induces a strong subdigraph of that orientation. In particular, if 9 is the undirected girth of 0, then
1
because 2 must contain a directed cycle and its length is at least the length of an undirected cycle in 3 (Araujo-Pardo et al., 2017).
Maximal convex sets also impose a global separation structure. If 4 is a maximal convex set of an oriented graph 5, then the complement 6 is connected as an undirected graph. Thus a proper maximal directed convex subgraph decomposes the vertex set into two connected blocks: the convex block itself and a connected complement.
In triangle-free graphs, including grids, convexity also forces a local orientation pattern along the boundary of a convex set. If 7 is convex, 8, and 9 is adjacent to some 0, then all neighbors of 1 inside 2 must be oriented uniformly with respect to 3: if 4, then 5; if 6, then 7. The reason is that a mixed in/out pattern would create a two-step geodesic passing through 8 between vertices of 9, forcing 0 into the convex hull.
A sharp upper-extremal characterization is supplied by a result recalled from Chartrand–Fink–Zhang: for a connected oriented graph 1 of order 2,
3
if and only if 4 contains a source, a sink, or a transitive vertex. Here a transitive vertex 5 satisfies 6, 7, and for every 8 and 9 the arc 0 is present. Consequently, a strong orientation with no source, no sink, and no transitive vertex cannot realize convexity number 1.
3. Complexity, hardness, and algorithmic contrasts
The decision problem Oriented Convexity Number asks, given an oriented graph 2 and an integer 3, whether 4 contains a convex set of size at least 5. This problem is in 6, and it is 7-complete even for bipartite oriented graphs of arbitrary large girth (Araujo-Pardo et al., 2017). The reduction is from Clique. Given a connected graph 8 and 9, the construction replaces each vertex 0 by a directed 1-cycle 2 with distinguished antipodal vertices 3 and 4, adds arcs 5 and 6 for each edge 7, and attaches every hexagon to a directed path
8
by arcs 9 and 00. The resulting digraph is bipartite, strongly connected, and has girth 01, and the key identity is
02
Hence 03 if and only if 04. The same idea extends to arbitrary large girth by replacing the directed 05-cycles with directed 06-cycles and the path 07 with a directed path of length 08.
This hardness result is specific to the geodesic-convexity setting on general oriented graphs. In acyclic digraphs, the literature also studies a different directed convexity: a nonempty set 09 is convex if there is no directed path between vertices of 10 which contains a vertex not in 11. If, additionally, the underlying undirected graph of the induced subgraph on 12 is connected, then 13 is a connected convex set, or cc-set. For this DAG setting, all connected convex sets can be enumerated in time 14, where 15 is the number of connected convex sets, and all convex sets can be enumerated in optimal time
16
(0712.2661).
The contrast is substantial. In the strong-orientation geodesic model, even deciding whether a large proper directed convex subgraph exists is 17-complete. In the acyclic path-closure model, enumeration is output-sensitive and near-optimal or optimal. This suggests that the computational profile of directed convex subgraphs depends strongly on the path system used to define convexity.
4. Grids and the strong convexity spectrum
The strongest exact results concern grids 18. For the 19-row grid,
20
Thus all even values from 21 up to 22 occur, except 23, and the only odd value is 24. For the 25-row grid,
26
Here 27 is excluded by the Chartrand–Fink–Zhang theorem, while 28 and 29 are excluded because there is no connected 30- or 31-vertex subgraph of the grid that both admits a strong orientation and whose complement is connected; 32 is excluded by an explicit structural argument (Araujo-Pardo et al., 2017).
For general grids with 33 and 34, the strong convexity spectrum is completely determined:
35
36
and
37
The missing values near the top end arise from general exclusions such as 38 and, when 39, also 40.
The central constructive devices are the whirlpool and the anti-whirlpool. In a whirlpool orientation of a rectangular subgrid, each 41-cycle is oriented as a directed cycle in a checkerboard pattern, and the whole region is strongly connected. For a whirlpool 42, one has
43
because any two distinct vertices have convex hull equal to the entire region. The grid constructions then use whirlpools as atomic convexity blocks: rectangular regions whose internal geodesic structure is so tight that any proper convex set meeting such a block nontrivially must either contain the whole block or expand to the whole graph. Lemmas in the grid analysis systematically construct strong orientations with exact convexity numbers 44, any value 45 with 46, 47, 48, any value 49 for 50, and a wide range of values of the form 51.
The resulting morphology of directed convex subgraphs in grids is correspondingly rigid. Large convex sets are typically rectangular subgrids oriented as whirlpools or slight variants, and interfaces between blocks are oriented so that geodesics between vertices inside a designated block do not benefit from leaving it. This suggests a block-like theory of convexity for oriented grids: internal closure is enforced by the whirlpool geometry, while boundary arcs prevent uncontrolled convex-hull growth.
5. Short-path convexities and convex geometries on digraphs
A different branch of the subject defines directed convexity through directed paths on three vertices. In the 52-convexity of an oriented graph 53, a set 54 is convex if no vertex outside 55 is the central vertex of a directed path 56 with both endpoints 57 in 58. In the 59-convexity, the same condition is imposed only for induced directed 60-vertex paths, that is, paths 61 with 62. In both cases the hull is obtained by iterating the corresponding interval operator until closure, and a convexity is a convex geometry if every convex set is the hull of its extreme elements (Araújo et al., 23 Jun 2026).
The extreme vertices differ between the two models. In 63-convexity, a vertex is extreme if and only if it is a source or a sink. In 64-convexity, a vertex is extreme if and only if it is a source, a sink, or a transitive vertex. For 65, any vertex added during hull iteration is never extreme in the final hull.
The 66 case admits a clean structural characterization. An oriented graph is a convex geometry in the 67-convexity if and only if it is acyclic, every descendant lies at directed distance at most 68 from its ancestor, and whenever the graph contains an induced 69 with endpoints 70 and internal vertices 71, one has 72. This yields a polynomial-time recognition algorithm.
The 73 case is substantially harder. An oriented graph is a convex geometry in the 74-convexity if and only if it is a 75-free DAG and every induced obstruction from a certain family 76 has geometric hull in the ambient graph. Deciding whether a directed acyclic graph is a convex geometry in the 77-convexity is coNP-complete. On the other hand, for the hereditary class of acyclic indifference oriented graphs, geometricity in the 78-convexity is equivalent to being 79-free, and recognition can be done in 80 time.
These results clarify a recurrent misconception: even very local directed path rules do not lead to a unique convexity theory. Closure under all directed 81-paths, closure under induced directed 82-paths, and closure under all directed paths in DAGs produce different extreme points, different obstruction sets, and different complexity landscapes.
6. Metric, geometric, and enumerative extensions
Directed convex subgraphs also appear in more geometric and algebraic settings. In the theory of oriented modular graphs, a set is 83-convex if it contains every metric interval 84 between its vertices, and in modular graphs 85-convexity coincides with gatedness. For an oriented modular graph 86, the indicator function of a set 87 is L-convex if and only if 88 is 89-convex; equivalently, convex subgraphs are precisely the 90-valued L-convex functions. This embeds directed convex subgraphs into the broader theory of submodular functions on modular semilattices, Lovász extensions, and CAT(0) orthoscheme complexes (Hirai, 2016).
A geometric-graph analogue arises in quadrant-restricted Yao graphs. For 91, the subgraph defined by one quadrant is planar, is a forest, is generally disconnected, and its directed version is a directed spanner with stretch 92. By contrast, 93, the subgraph defined by two adjacent quadrants, is always connected, may be nonplanar, and is not a directed spanner. Here the “convex regions” are Euclidean quadrants and half-planes rather than graph-geodesic intervals, but the same theme reappears: enlarging the admissible directional region improves connectivity while degrading structural rigidity (0905.2249).
An enumerative extension is provided by a recent orientation–subgraph correspondence. For any graph 94 and sets of ordered vertex pairs 95, the number of 96-valid orientations equals the number of 97-valid subgraphs, where 98 encodes forbidden reachability and 99 encodes required reachability. Parallel equidistributions also hold for cycle-, cocycle-, and cycle–cocycle-reversal classes, corresponding respectively to forests, 00-connected subgraphs, and 01-connected forests (Bernardi et al., 15 May 2026). This suggests an enumerative route for directed-convexity notions that can be formulated as finite reachability constraints, although that step is an interpretation rather than an explicit theorem of the paper.
Across these frameworks, the common invariant is closure under directed intermediates: geodesic intermediates in strong orientations, path intermediates in DAGs, central vertices of short directed paths, metric intervals in oriented modular graphs, or cone-restricted nearest neighbors in geometric graphs. What changes from framework to framework is the ambient path system and, with it, the balance among structure, tractability, and expressive power.