include direction information in edge predicates.