shortestPathsFromMany method
Returns the shortest paths from roots
to targets
.
Implementation
Future<List<List<Node<T>>>> shortestPathsFromMany(
List<T> roots, List<T> targets,
{bool findAll = false}) async {
var result = await scanPathsFromMany(roots, targets, findAll: findAll);
return result.paths.shortestPaths();
}