Skip to content

2.5.0

Latest
Compare
Choose a tag to compare
@albertorestifo albertorestifo released this 03 May 20:54
· 8 commits to master since this release
2de3f87

Added

  • avoid option in Graph#path

You can now pass an array of nodes to avoid when computing the path.

Example:

route.path('A', 'D', { avoid: ['C', 'F'] });

Thanks @doesntgolf for the contribution!