graph search version