Papers
Topics
Authors
Recent
Search
2000 character limit reached

Mutual-Visibility Sets in Graph Theory

Updated 10 July 2026
  • 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 G=(V(G),E(G))G=(V(G),E(G)) and a set X⊆V(G)X\subseteq V(G), two vertices u,v∈V(G)u,v\in V(G) are XX-visible if there exists a shortest u,vu,v-path PP such that

V(P)∩X⊆{u,v}.V(P)\cap X\subseteq \{u,v\}.

A set XX is a mutual-visibility set if every two vertices of XX are XX-visible, and the maximum size of such a set is the mutual-visibility number

X⊆V(G)X\subseteq V(G)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 X⊆V(G)X\subseteq V(G)1, it is enough that some shortest X⊆V(G)X\subseteq V(G)2-path avoids X⊆V(G)X\subseteq V(G)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 X⊆V(G)X\subseteq V(G)4 is a convex subgraph of X⊆V(G)X\subseteq V(G)5, then restriction preserves mutual visibility: if X⊆V(G)X\subseteq V(G)6 is a mutual-visibility set of X⊆V(G)X\subseteq V(G)7, then X⊆V(G)X\subseteq V(G)8 is a mutual-visibility set of X⊆V(G)X\subseteq V(G)9. Consequently,

u,v∈V(G)u,v\in V(G)0

for every convex subgraph u,v∈V(G)u,v\in V(G)1 of u,v∈V(G)u,v\in V(G)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,

u,v∈V(G)u,v\in V(G)3

and

u,v∈V(G)u,v\in V(G)4

if and only if the graph is a path u,v∈V(G)u,v\in V(G)5 or, in the disconnected setting, a disjoint union of path graphs. Complete graphs are exactly those with u,v∈V(G)u,v\in V(G)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 u,v∈V(G)u,v\in V(G)7” by other natural classes of vertex pairs. Writing u,v∈V(G)u,v\in V(G)8, three standard variants are defined (Cicerone et al., 2023):

Notion Required u,v∈V(G)u,v\in V(G)9-visible pairs Maximum size
Mutual all XX0 XX1
Total all XX2 XX3
Outer all XX4, and all XX5 XX6
Dual all XX7, and all XX8 XX9

These parameters satisfy the basic inequalities

u,vu,v0

Mutual-, outer-, and total mutual-visibility sets are downward closed under taking subsets, but dual mutual-visibility sets are not; u,vu,v1 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

u,vu,v2

where u,vu,v3 counts mutual-visibility sets of size u,vu,v4. 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 u,vu,v5, u,vu,v6, and u,vu,v7. Dual visibility behaves differently: for every finite subset u,vu,v8 of positive integers there exists a graph u,vu,v9 that has a dual mutual-visibility set of size PP0 if and only if PP1, and every polynomial with nonnegative integer coefficients and constant term PP2 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 PP3. The corresponding chromatic parameter PP4 is the minimum number of colors in a vertex partition into independent mutual-visibility sets, while PP5 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 PP6, then

PP7

while for trees of order at least PP8,

PP9

(BreĆĄar et al., 7 May 2025).

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 V(P)∩X⊆{u,v}.V(P)\cap X\subseteq \{u,v\}.0 is a total mutual-visibility set if and only if every pair V(P)∩X⊆{u,v}.V(P)\cap X\subseteq \{u,v\}.1 with V(P)∩X⊆{u,v}.V(P)\cap X\subseteq \{u,v\}.2 is V(P)∩X⊆{u,v}.V(P)\cap X\subseteq \{u,v\}.3-visible, equivalently if and only if every distance-V(P)∩X⊆{u,v}.V(P)\cap X\subseteq \{u,v\}.4 pair satisfies

V(P)∩X⊆{u,v}.V(P)\cap X\subseteq \{u,v\}.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,

V(P)∩X⊆{u,v}.V(P)\cap X\subseteq \{u,v\}.6

for a graph V(P)∩X⊆{u,v}.V(P)\cap X\subseteq \{u,v\}.7 with V(P)∩X⊆{u,v}.V(P)\cap X\subseteq \{u,v\}.8 if and only if each vertex is the middle vertex of a convex V(P)∩X⊆{u,v}.V(P)\cap X\subseteq \{u,v\}.9. For dual mutual visibility, if every two adjacent vertices are the center of a convex XX0, then

XX1

and if XX2 has girth at least XX3, then

XX4

A convex-cover criterion further shows that if XX5 is covered by convex induced subgraphs each having dual mutual-visibility number XX6, then XX7 (Cicerone et al., 2023).

Trees admit a complete intrinsic characterization. A set XX8 is a mutual-visibility set of a tree XX9 if and only if it is exactly the leaf set of the Steiner subtree XX0: XX1 As a consequence,

XX2

If XX3 has branch vertices and XX4 denotes the length of the leg determined by a leaf XX5, then the number of maximum mutual-visibility sets is

XX6

The same work proves that every tree is absolute-clear and that for trees with at least two edges,

XX7

(B et al., 13 Jan 2026).

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 XX8-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 XX9 is the set of articulation vertices, then XX0 is a mutual-visibility set and

XX1

For trees this specializes to the leaf formula above. For complete bipartite graphs,

XX2

and for connected cographs,

XX3

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 XX4,

XX5

while

XX6

and

XX7

These formulas already show that the classical, total, outer, and dual notions are genuinely different invariants (Cicerone et al., 2023).

For Cartesian grids,

XX8

For higher-dimensional grids

XX9

the total mutual-visibility number is

X⊆V(G)X\subseteq V(G)00

In two dimensions, the outer and dual parameters are known exactly; for large grids,

X⊆V(G)X\subseteq V(G)01

when X⊆V(G)X\subseteq V(G)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

X⊆V(G)X\subseteq V(G)03

was established first, and later work proved that for X⊆V(G)X\subseteq V(G)04 and X⊆V(G)X\subseteq V(G)05 or X⊆V(G)X\subseteq V(G)06,

X⊆V(G)X\subseteq V(G)07

For cylinders,

X⊆V(G)X\subseteq V(G)08

whenever X⊆V(G)X\subseteq V(G)09, and a conjecture states that for X⊆V(G)X\subseteq V(G)10,

X⊆V(G)X\subseteq V(G)11

(Stefano, 2021, KorĆŸe et al., 2023). For the stronger variants on tori,

X⊆V(G)X\subseteq V(G)12

and

X⊆V(G)X\subseteq V(G)13

while the exact value of X⊆V(G)X\subseteq V(G)14 remains open; the known bound is

X⊆V(G)X\subseteq V(G)15

for X⊆V(G)X\subseteq V(G)16 (Cicerone et al., 2023).

Self-similar families produce further exact theories. For SierpiƄski triangle graphs X⊆V(G)X\subseteq V(G)17, with the notation X⊆V(G)X\subseteq V(G)18 in that paper corresponding to X⊆V(G)X\subseteq V(G)19,

X⊆V(G)X\subseteq V(G)20

X⊆V(G)X\subseteq V(G)21

X⊆V(G)X\subseteq V(G)22

Here the optimal ordinary mutual-visibility and general position sets coincide for all X⊆V(G)X\subseteq V(G)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,

X⊆V(G)X\subseteq V(G)24

so

X⊆V(G)X\subseteq V(G)25

and the total mutual-visibility number satisfies asymptotically tight bounds

X⊆V(G)X\subseteq V(G)26

For cube-connected cycles,

X⊆V(G)X\subseteq V(G)27

and for butterflies,

X⊆V(G)X\subseteq V(G)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 X⊆V(G)X\subseteq V(G)29-SAT, while verification is polynomial-time. Given X⊆V(G)X\subseteq V(G)30 and X⊆V(G)X\subseteq V(G)31, one can test whether X⊆V(G)X\subseteq V(G)32 is a mutual-visibility set in

X⊆V(G)X\subseteq V(G)33

time by comparing shortest-path distances in X⊆V(G)X\subseteq V(G)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

X⊆V(G)X\subseteq V(G)35

the corresponding decision problem “is X⊆V(G)X\subseteq V(G)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 X⊆V(G)X\subseteq V(G)37,
  • dual mutual-visibility verification in X⊆V(G)X\subseteq V(G)38. The NP-completeness proof is a simultaneous reduction from Independent Set showing

X⊆V(G)X\subseteq V(G)39

for a suitable graph X⊆V(G)X\subseteq V(G)40 (Cicerone et al., 2023).

Approximation is also hard. A polynomial-time algorithm finds a mutual-visibility set of size

X⊆V(G)X\subseteq V(G)41

where X⊆V(G)X\subseteq V(G)42 is the average distance in the graph. On the negative side, for graphs of diameter at least X⊆V(G)X\subseteq V(G)43 and every constant X⊆V(G)X\subseteq V(G)44, mutual-visibility and dual mutual-visibility are not approximable within a factor of

X⊆V(G)X\subseteq V(G)45

while outer and total mutual-visibility are not approximable within

X⊆V(G)X\subseteq V(G)46

unless X⊆V(G)X\subseteq V(G)47. All four visibility problems are also X⊆V(G)X\subseteq V(G)48-hard on graphs of diameter X⊆V(G)X\subseteq V(G)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 X⊆V(G)X\subseteq V(G)50-vertices, identifies terminal arrows in the directed decomposition, and performs a minimal case-dependent set of deletions from the initial candidate X⊆V(G)X\subseteq V(G)51 (Cicerone et al., 2023).

The independent and coloring variants remain computationally rich. Computing X⊆V(G)X\subseteq V(G)52 and X⊆V(G)X\subseteq V(G)53 is NP-complete even for graphs with universal vertices, and it is NP-hard to decide whether

X⊆V(G)X\subseteq V(G)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

X⊆V(G)X\subseteq V(G)55

and, using feasible total mutual-visibility sets, sharper product bounds leading to an exact formula for strong grids: X⊆V(G)X\subseteq V(G)56 For strong prisms over block graphs,

X⊆V(G)X\subseteq V(G)57

(Cicerone et al., 2022).

For corona products, the geometry is even more rigid. If X⊆V(G)X\subseteq V(G)58 and X⊆V(G)X\subseteq V(G)59 each have at least two vertices, then

X⊆V(G)X\subseteq V(G)60

The maximum set is exactly the union of all pendant copies of X⊆V(G)X\subseteq V(G)61, excluding the core vertices of X⊆V(G)X\subseteq V(G)62. This structure extends to counting formulas for the visibility polynomial of X⊆V(G)X\subseteq V(G)63, via the auxiliary notion of X⊆V(G)X\subseteq V(G)64-visible sets and maximal absolute X⊆V(G)X\subseteq V(G)65-visible sets (B et al., 2 Sep 2025).

The theory is no longer confined to undirected graphs. In directed graphs, a set X⊆V(G)X\subseteq V(G)66 is mutual-visible only if for every X⊆V(G)X\subseteq V(G)67 there exist shortest directed paths from X⊆V(G)X\subseteq V(G)68 to X⊆V(G)X\subseteq V(G)69 and from X⊆V(G)X\subseteq V(G)70 to X⊆V(G)X\subseteq V(G)71, both avoiding X⊆V(G)X\subseteq V(G)72 internally. This immediately forces nontrivial sets to lie in a single strongly connected component, and yields

X⊆V(G)X\subseteq V(G)73

For directed acyclic graphs,

X⊆V(G)X\subseteq V(G)74

for directed cycles of length at least X⊆V(G)X\subseteq V(G)75,

X⊆V(G)X\subseteq V(G)76

while tournaments can have arbitrarily large mutual-visibility sets; for Paley tournaments X⊆V(G)X\subseteq V(G)77,

X⊆V(G)X\subseteq V(G)78

Verification remains polynomial-time solvable, but computing X⊆V(G)X\subseteq V(G)79 is NP-hard (Stojanović, 3 Feb 2026).

Local graph modifications reveal a strong instability phenomenon. If X⊆V(G)X\subseteq V(G)80 remains connected, then

X⊆V(G)X\subseteq V(G)81

and

X⊆V(G)X\subseteq V(G)82

If X⊆V(G)X\subseteq V(G)83 remains connected, then

X⊆V(G)X\subseteq V(G)84

Beyond these bounds, most remaining edge- and vertex-deletion cases are highly unstable; for example, neither X⊆V(G)X\subseteq V(G)85 nor X⊆V(G)X\subseteq V(G)86 admits a universal affine bound of the form X⊆V(G)X\subseteq V(G)87 with X⊆V(G)X\subseteq V(G)88 (Dokyeesun et al., 25 May 2025).

Several open problems remain central. The exact value of X⊆V(G)X\subseteq V(G)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

X⊆V(G)X\subseteq V(G)90

is conjectural outside the proven range X⊆V(G)X\subseteq V(G)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).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Mutual-Visibility Sets.