Directed Graphs
Learn about directed graphs and their representations.
We'll cover the following...
Digraphs
A directed graph or a digraph is a graph where each edge has an orientation.
That means each edge begins at a source vertex and ends at a target vertex. We call the source vertex the tail and the target vertex the head of the edge.
Press + to interact
We also want our notation to emphasize this notion of directionality. So, we do the obvious and represent an edge as an ordered pair , where is the tail and is the head of the edge.
In the context of a digraph, an edge goes from a vertex ...