now turn the results into undirected graphs so that equivalency can be checked...