A Labeling Algorithm to Recognize a Line Digraph and Output its Root Graph

Abstract In this short note we present a very efficient, linear time algorithm for the recognition of line digraphs. The algorithm is based on a reformulation of the characterization of line digraphs proved by Harary and Norman.