dev-haskell/graphscc
Tarjan's algorithm for computing the strongly connected components of a graph
Reverse Dependencies
Reverse dependancies are sometimes conditional based on your USE flags, Ebuild version and sometimes other packages. please keep this in mind.