identifying parts of a graph - Search