added documentation for graph search