Added utilities to search in graphs