The topological sorts can exchange the position of any pair node which have no directed path between them. So nodes (b,c) , (e,f) , (h,i) are interchangeable as there is no path between them . So for each pair there are 2 permutation so total no of permutations are 2^3 = 8