pub fn dijkstra( store: &LpgStore, source: NodeId, weight_property: Option<&str>, ) -> DijkstraResult
Runs Dijkstra’s algorithm from a source node.
store
source
weight_property
Distances and predecessors for all reachable nodes.
O((V + E) log V) using a binary heap.