Can you create an option to find the most distant connection for a topic?
[1] https://github.com/jwngr/sdow/blob/a2699dc95d884ec64a4641630...
Challenging part is keeping track of already visited pages to break cycles - some variant of a Bloom filter will help.