Rewrite `transpose` for unweighted digraphs without :preceding