first version of extraction of an affinity graph. it creates a single affinity graph from all partitions. it is a global view which does not consider the location of tuples. It also does not run on muliple servers because it assumes that all partitions are local to the running server.