A graph is a structure that comprises a set of vertices and a set of edges. Directed graphical models can be represented by a graph with its vertices serving as random variables and directed edges serving as dependency relationships between them.
A subgraph G of a graph is graph G' whose vertex set and edge set subsets of the graph G. In simple words a graph is said to be a subgraph if it is a part of another graph.