Graph is a finite set of points {
}, called vertices or nodes, together with a finite collection of ordered pair (
) called edges.
As is shown in the following figure the points in the set are called vertices and the relation or ordered pairs are called edges.
A simpler example of a graph is shown in the following figure:
In this graph are vertices, and
(
) and (
) are edges.