BFS route finding and centrality.