transitivity of node triads implemented