Directed graph
Appearance
![](https://upload.wikimedia.org/wikipedia/commons/c/c6/Directed_graph.png)
In graph theory, a directed graph (or digraph) is a graph which has directed edges. This means one end of the edge is different from the other end. Directed edges can be thought of as arrows, or as edges which can only be travelled in one direction.
Degree
[change | change source]For a normal graph, the degree of a vertex is the number of edges touching .
For a digraph, there are two more definitions. The indegree of is the number of edges going into , and the outdegree of is the number of edges going out of .