146. Simple digraphs

146.1 Definition: simple digraph

A digraph is simple if for two distinct arrows $a$ and $b$, either source$(a)\neq$ source$(b)$ or target$(a)\neq$ target$(b)$. In other words, only one arrow can go from a node to another node. (However, one arrow is allowed each way.)

146.1.1 Example The left graph in Figure (144.1), page 218, is not a simple digraph, whereas the right one is.

146.1.2 Exercise What is the largest number of arrows a simple digraph with $n$ nodes can have?

146.1.3 Variation in terminology In many books the word “digraph” is used only for simple digraphs; those that allow more than one arrow from a node to a node are called “multigraphs” or “multidigraphs”.

A simple digraph can be given a much simpler (!) abstract description (of a graph). Since there can be at most one arrow from a node to another one, all you have to do to describe the digraph is to give the set $G_0$ of nodes and the subset $A$ of $G_0\times G_0$ of ordered pairs of those nodes that have an arrow going from the first node to the second one. This is summed up in the following definition.

146.2 Definition: relational description

The relational description of a simple digraph $G$ is $(G_0,A)$, where $A\subseteq G_0\times G_0$ is the set of ordered pairs

$$\{\langle m,n\rangle\mid\text{There is an arrow from }m\text{ to }n\}$$

146.2.1 Remark We saw this correspondence between simple digraphs and relations from the opposite point of view in 51.2.

146.2.2 Example In the case of the right graph in Figure (144.1), which is simple, $G_0$ is $\{x,y,z\}$ and $A$ is $\{\langle x,y\rangle,\langle y,x\rangle,\langle x,z\rangle\}$.

146.2.3 Exercise Which of the digraphs in Exercise 144.2.2 are simple? Give the relational description of each one that is. (Answer on page 251.)

146.2.4 Exercise Give the relational description of the graph (147.1), page 223.

146.2.5 Fact The relational description can be converted to the original definition of digraph by calling a pair $\langle x,y\rangle$ in $A$ an arrow from $x$ to $y$; thus the source is the first coordinate and the target is the second.

To sum up:

(i) If $\langle G_0,G_1,s,t\rangle$ is the abstract description (of a graph) of a simple digraph, you get the relational description $\langle G,A\rangle$ of the same graph by taking $G=G_0$ and

$$A=\{\langle x,y\rangle\in G_0\times G_0\mid(\exists s)(s:x\to y)\text{ in }G_1\}$$

(ii) If $\langle G,A\rangle$ is the relational description of a simple digraph, the abstract description (of a graph) of the same graph is defined to be $\langle G_0,G_1,s,t\rangle$, where $G_0=G$, $G_1=A$, $s=p_1$ (the first coordinate function) and $t=p_2$.

Pages 221–222 of the book (PDF).