move digraphs to their own package