TopologicalRouteSearch in strands_navigation/topological_navigation/src/topological_navigation/route_search.py
If we search route from a node A to the same node using search_route method of this class, it will return a loop A -> B -> A (assuming bi-directional edges exist between A and another node B).