path method

List<T> path(
  1. T start,
  2. T target
)
inherited

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);
}