single_source_shortest_path#
- single_source_shortest_path(graph, source, cutoff=None)#
Calculates the single source shortest paths from a given source node.
- Parameters:
- Returns:
Mapping from end node to shortest path from the source node.
- Return type: