The correspondence between directionality and transitivity