Common undirected graph