A directed graph or digraph is a finite set of vertices together with a finite set of directed edges.
Example :
In this Example are vertices, and
and
are directed edges.
We show directed edges as
or
which means "
is connected
to
."
Two oppositely pointing arrow on the graph connecting to
and
to
will be
represented as
which implies that both
and
hold.
In this example the vertices are , and edges are
,
,
.