Nearest-node snapping followed by optimal A*, with insertion-order ties.
Readonly
Add a directed edge. Arbitrary non-negative costs remain admissible.
Optional
Copy a point and return its stable insertion index.
Nearest-node snapping followed by optimal A*, with insertion-order ties.