Get the strongly connected components in the directed graph of values or objects.