Definition. Directed graph [00JC]

A directed graph {\mathopen {}\left (A,R\right )\mathclose {}} consists of a set A and a binary relation R\colon A\mathbin {\nrightarrow } A from A to itself; such a relation from a set to itself is called an endo-relation.