A characterization of Thompson digraphs