Subgraph
A subgraph is a graph formed from a subset of the vertices and edges of another graph. If G = (V, E) is a graph, a subgraph H = (V', E') satisfies V' ⊆ V and E' ⊆ E, with the requirement that every edge in E' has both endpoints in V'. This holds for both undirected graphs and directed graphs (digraphs), where edges are oriented pairs.
There are several common subgraph variations. An induced subgraph on a vertex set V' ⊆ V, denoted
Examples help illustrate the idea. From a triangle graph with vertices a, b, c and edges ab,
Subgraphs are fundamental in structural analysis of networks, chemistry, and computer science. They lead to algorithmic