In graph theory, the neighborhood [1] of a vertex in a graph is the edge induced subgraph on the set of vertices adjacent to .

Definition


Definition 1 (Neighbor)

Let be a graph. A vertex is a neighbor of a vertex if

that is, if and are ??adjacent??, joined by an edge of .

Definition 2 (Open neighborhood)

Let be a graph and a vertex. The open neighborhood of is

the set of vertices other than that are ??adjacent?? to .

Definition 3 (Closed neighborhood)

Let be a graph and a vertex. The closed neighborhood of is

the set of vertices that arr ??adjacent?? to including itself.

The neighborhood of can also be formulated as an ??edge induced subgraph??. Let be the set of edges ??incident?? to . The edge induced subgraph has vertex set , since and every neighbor of appear as endpoints of some edge in , and its edge set is itself.

Notation


The open neighborhood of is denoted , or simply when the graph is unambiguous, and the closed neighborhood is denoted . The same neighborhood notation may also be used to refer to the set of ??adjacent vertices rather than the corresponding induced subgraph??.

Directed graphs


In a directed graph, the neighborhood of a vertex splits into two directed notions: the in-neighborhood , the set of neighbors with a directed edge , and the out-neighborhood , the set of neighbors with a directed edge .

References

  1. [1]

    “Neighbourhood (graph theory)”, Wikipedia, Available: https://en.wikipedia.org/wiki/Neighbourhood_(graph_theory), Accessed: 2026-07-31 ↩