I have a structure of nodes that represent my pages and their links, for example, from page A I can go to page B or page C. Besides that I can have page A pointing to B pointing to C pointing back to A. What I need to do is to determine a source page and a destination page, and display only the related nodes, for example from A, get to H.
What algorithm is used to find this type of path?