Notes on digraphs