path method
Returns the shortest detected path from start
to target
including cycles.
- Returns an empty list if no path was found.
- To exclude cycles use the method
shortestPath(start, target)
.
Implementation
List<T> path(T start, T target) {
return crawler.path(start, target);
}