Words near undirected-graphs in the dictionary