search path in Graph