A graph is an ordered pair of a set of its vertices and a multiset of its edges. The graph is the basic unit of graph theory.