Mutual-Visibility Sets in Graph Theory
- Mutual-visibility sets are sets of vertices in a graph where every pair is connected by a shortest path that avoids all other selected vertices.
- The concept extends to variants such as total, outer, and dual visibility, incorporating convexity properties and polynomial invariants to refine analysis.
- Algorithmic and complexity studies show NP-completeness in general while enabling efficient solutions on structured classes, underlining the practical significance of these sets.
Mutual-visibility sets are geodesic packing objects in graphs. For a graph and a set , two vertices are -visible if there exists a shortest -path such that
A set is a mutual-visibility set if every two vertices of are -visible, and the maximum size of such a set is the mutual-visibility number
0
The notion was introduced as a graph-theoretic geodesic analogue of visibility and of the condition that no third selected point lies on a shortest segment, and it has since developed into a broader theory involving stronger visibility variants, exact formulas on structured graph classes, polynomial invariants, approximation and hardness results, product constructions, and directed extensions (Stefano, 2021, Cicerone et al., 2023, StojanoviÄ, 3 Feb 2026).
1. Foundational definitions and geodesic viewpoint
The defining feature of mutual visibility is existential geodesic avoidance: for 1, it is enough that some shortest 2-path avoids 3. This distinguishes mutual visibility from the general position condition, where every geodesic between two selected vertices must avoid the rest of the set. Every general position set is a mutual-visibility set, but not conversely; the relation âmutually visibleâ on a fixed set is reflexive and symmetric, but not transitive (Stefano, 2021).
A useful structural convention is convexity. If 4 is a convex subgraph of 5, then restriction preserves mutual visibility: if 6 is a mutual-visibility set of 7, then 8 is a mutual-visibility set of 9. Consequently,
0
for every convex subgraph 1 of 2. Ordinary induced subgraphs do not preserve the parameter in general, which is why convexity, rather than inducedness, is the natural hereditary notion in the subject (Stefano, 2021).
Several extremal values were identified at the outset. For connected graphs,
3
and
4
if and only if the graph is a path 5 or, in the disconnected setting, a disjoint union of path graphs. Complete graphs are exactly those with 6. These observations already show that mutual visibility is neither a purely local nor a purely density-driven invariant: it is controlled by how shortest paths thread through selected vertices (Stefano, 2021).
2. Variants, spectra, and coloring refinements
A major extension replaces âpairs inside 7â by other natural classes of vertex pairs. Writing 8, three standard variants are defined (Cicerone et al., 2023):
| Notion | Required 9-visible pairs | Maximum size |
|---|---|---|
| Mutual | all 0 | 1 |
| Total | all 2 | 3 |
| Outer | all 4, and all 5 | 6 |
| Dual | all 7, and all 8 | 9 |
These parameters satisfy the basic inequalities
0
Mutual-, outer-, and total mutual-visibility sets are downward closed under taking subsets, but dual mutual-visibility sets are not; 1 gives a concrete example, where an edge is a dual mutual-visibility set but a singleton need not be (Cicerone et al., 2023).
The subject also has an enumerative side. The visibility polynomial of a graph is
2
where 3 counts mutual-visibility sets of size 4. Analogous dual, outer, and total visibility polynomials are defined. Because mutual-, outer-, and total visibility families are closed under subsets, their feasible sizes form initial intervals 5, 6, and 7. Dual visibility behaves differently: for every finite subset 8 of positive integers there exists a graph 9 that has a dual mutual-visibility set of size 0 if and only if 1, and every polynomial with nonnegative integer coefficients and constant term 2 is a dual visibility polynomial of some graph (BujtĂĄs et al., 2024).
A further refinement adds independence. An independent mutual-visibility set is an independent set that is also a mutual-visibility set; its maximum size is 3. The corresponding chromatic parameter 4 is the minimum number of colors in a vertex partition into independent mutual-visibility sets, while 5 is the minimum number of colors in a partition into mutual-visibility sets. These parameters connect visibility theory to ordinary coloring, independence, defective coloring, and Ramsey theory. In particular, if 6, then
7
while for trees of order at least 8,
9
3. Structural characterizations
A central theme of the theory is that visibility constraints can often be reformulated as local geodesic obstructions. For total mutual visibility, the decisive characterization is that 0 is a total mutual-visibility set if and only if every pair 1 with 2 is 3-visible, equivalently if and only if every distance-4 pair satisfies
5
This converts a global all-pairs definition into a local common-neighbor condition. In geodetic graphs, the total mutual-visibility number equals the number of simplicial vertices, and the simplicial set is the unique maximum total mutual-visibility set (BujtĂĄs et al., 2024).
The vanishing regimes of the stronger variants are also well developed. For total mutual visibility,
6
for a graph 7 with 8 if and only if each vertex is the middle vertex of a convex 9. For dual mutual visibility, if every two adjacent vertices are the center of a convex 0, then
1
and if 2 has girth at least 3, then
4
A convex-cover criterion further shows that if 5 is covered by convex induced subgraphs each having dual mutual-visibility number 6, then 7 (Cicerone et al., 2023).
Trees admit a complete intrinsic characterization. A set 8 is a mutual-visibility set of a tree 9 if and only if it is exactly the leaf set of the Steiner subtree 0: 1 As a consequence,
2
If 3 has branch vertices and 4 denotes the length of the leg determined by a leaf 5, then the number of maximum mutual-visibility sets is
6
The same work proves that every tree is absolute-clear and that for trees with at least two edges,
7
For distance-hereditary graphs, the structure is described by the canonical split decomposition. In that setting the only essential obstructions are the centers of certain star bags, called 8-vertices, and terminal arrows in a directed version of the decomposition. This yields a linear-time algorithm that computes an optimal mutual-visibility set, so the NP-complete general problem becomes tractable on this decomposition-defined class (Cicerone et al., 2023).
4. Exact formulas on major graph classes
The original paper established exact values on several basic classes. For connected block graphs, if 9 is the set of articulation vertices, then 0 is a mutual-visibility set and
1
For trees this specializes to the leaf formula above. For complete bipartite graphs,
2
and for connected cographs,
3
with a polynomial-time construction of a maximum mutual-visibility set (Stefano, 2021).
Cycles are the smallest family where the four standard parameters separate sharply. For 4,
5
while
6
and
7
These formulas already show that the classical, total, outer, and dual notions are genuinely different invariants (Cicerone et al., 2023).
For Cartesian grids,
8
For higher-dimensional grids
9
the total mutual-visibility number is
00
In two dimensions, the outer and dual parameters are known exactly; for large grids,
01
when 02. This provides a concrete family where all four parameters differ and the gaps can be arbitrarily large (Cicerone et al., 2023).
Tori show a complementary pattern. For the ordinary mutual-visibility number, the general upper bound
03
was established first, and later work proved that for 04 and 05 or 06,
07
For cylinders,
08
whenever 09, and a conjecture states that for 10,
11
(Stefano, 2021, KorĆŸe et al., 2023). For the stronger variants on tori,
12
and
13
while the exact value of 14 remains open; the known bound is
15
for 16 (Cicerone et al., 2023).
Self-similar families produce further exact theories. For SierpiĆski triangle graphs 17, with the notation 18 in that paper corresponding to 19,
20
21
22
Here the optimal ordinary mutual-visibility and general position sets coincide for all 23, while the stronger visibility variants collapse to much smaller values (KorĆŸe et al., 2024).
Hypercube-like graphs add both exact and asymptotic results. For hypercubes,
24
so
25
and the total mutual-visibility number satisfies asymptotically tight bounds
26
For cube-connected cycles,
27
and for butterflies,
28
(Cicerone et al., 2023, Axenovich et al., 2024).
5. Algorithms, verification, and computational complexity
The decision version of the classical problem was shown to be NP-complete in the foundational paper via a reduction from 29-SAT, while verification is polynomial-time. Given 30 and 31, one can test whether 32 is a mutual-visibility set in
33
time by comparing shortest-path distances in 34 and in graphs obtained by deleting the other selected vertices (Stefano, 2021).
The later âvarietyâ paper generalized this picture to all four parameters. For any
35
the corresponding decision problem âis 36?â is NP-complete. Membership in NP again comes from polynomial-time verification, with the explicit bounds:
- mutual-, outer-, and total mutual-visibility verification in 37,
- dual mutual-visibility verification in 38. The NP-completeness proof is a simultaneous reduction from Independent Set showing
39
for a suitable graph 40 (Cicerone et al., 2023).
Approximation is also hard. A polynomial-time algorithm finds a mutual-visibility set of size
41
where 42 is the average distance in the graph. On the negative side, for graphs of diameter at least 43 and every constant 44, mutual-visibility and dual mutual-visibility are not approximable within a factor of
45
while outer and total mutual-visibility are not approximable within
46
unless 47. All four visibility problems are also 48-hard on graphs of diameter 49 (BilĂČ et al., 2024).
Despite these hardness results, some graph classes admit exact fast algorithms. The most prominent example is distance-hereditary graphs, where canonical split decomposition yields a linear-time algorithm computing an optimal mutual-visibility set. The algorithm removes all 50-vertices, identifies terminal arrows in the directed decomposition, and performs a minimal case-dependent set of deletions from the initial candidate 51 (Cicerone et al., 2023).
The independent and coloring variants remain computationally rich. Computing 52 and 53 is NP-complete even for graphs with universal vertices, and it is NP-hard to decide whether
54
For ordinary visibility coloring, NP-completeness remains a conjecture (BreĆĄar et al., 7 May 2025).
6. Products, perturbations, directed graphs, and open directions
Graph products are a recurrent source of large, explicitly describable mutual-visibility sets. For strong products, a paper centered on total mutual-visibility introduced lower bounds of the form
55
and, using feasible total mutual-visibility sets, sharper product bounds leading to an exact formula for strong grids: 56 For strong prisms over block graphs,
57
For corona products, the geometry is even more rigid. If 58 and 59 each have at least two vertices, then
60
The maximum set is exactly the union of all pendant copies of 61, excluding the core vertices of 62. This structure extends to counting formulas for the visibility polynomial of 63, via the auxiliary notion of 64-visible sets and maximal absolute 65-visible sets (B et al., 2 Sep 2025).
The theory is no longer confined to undirected graphs. In directed graphs, a set 66 is mutual-visible only if for every 67 there exist shortest directed paths from 68 to 69 and from 70 to 71, both avoiding 72 internally. This immediately forces nontrivial sets to lie in a single strongly connected component, and yields
73
For directed acyclic graphs,
74
for directed cycles of length at least 75,
76
while tournaments can have arbitrarily large mutual-visibility sets; for Paley tournaments 77,
78
Verification remains polynomial-time solvable, but computing 79 is NP-hard (StojanoviÄ, 3 Feb 2026).
Local graph modifications reveal a strong instability phenomenon. If 80 remains connected, then
81
and
82
If 83 remains connected, then
84
Beyond these bounds, most remaining edge- and vertex-deletion cases are highly unstable; for example, neither 85 nor 86 admits a universal affine bound of the form 87 with 88 (Dokyeesun et al., 25 May 2025).
Several open problems remain central. The exact value of 89 was historically open for tori and is now known in large ranges, but the outer mutual-visibility number of tori is still unresolved (Stefano, 2021, Cicerone et al., 2023). The cylinder formula
90
is conjectural outside the proven range 91 (KorĆŸe et al., 2023). For visibility colorings, NP-completeness of the ordinary MV coloring problem is conjectured (BreĆĄar et al., 7 May 2025). More broadly, the field continues to branch toward visibility polynomials, graph products, directed and weighted settings, and finer stability questions under local modifications (B et al., 2 Jul 2025, BujtĂĄs et al., 2024).