dijkstra_single_source_shortest_paths#
- dijkstra_single_source_shortest_paths(graph, source, targets, direction=..., weight='weight')#
Finds the shortest paths from a single source to multiple targets in a graph.
- Parameters:
- Returns:
Mapping from nodes to a tuple containing the total cost and the nodes representing the shortest path.
- Return type: