Optionaloptions: {Expands (merges) the existing graph with an additional LineString FeatureCollection.
Computes the shortest route between two points in the network using the A* algorithm.
A GeoJSON Point Feature representing the start location.
A GeoJSON Point Feature representing the end location.
A GeoJSON LineString Feature representing the shortest path, or null if no path is found.
Builds a graph (CSR) from a LineString FeatureCollection. Two-pass build: pass 1 assigns node indices and counts degrees; pass 2 fills CSR arrays.