Share
Download code
Jump to the code
Open in the playground
This example shows how to use the shortestPath algorithm. A initial path is shown.
Left clicking on a node if will show the shortest path from the central node.
The purple nodes and edges are avoided by the algorithm.