Gary Gordon, Elizabeth W. McMahon: A characteristic polynomial for rooted graphs and rooted digraphs. Discret. Math. 232(1-3): 19-33 (2001)