Fig. 1: Tree graph.

A tree graph is any undirected acyclic graph such that a unique path connects any two vertices. Graph a and b are the only two nonisomorphic trees with (n − 1) edges for n = 4. Graph c is not a tree because it is disconnected and has a cycle.