def single_source_dijkstra_path(G, source, cutoff=None, weight='weight'):
 return multi_source_dijkstra_path(G, {source}, cutoff=cutoff, weight=weight)

def single_source_dijkstra_path ( G , source , cutoff = None , weight = 'weight' ) : return multi_source_dijkstra_path ( G , { source } , cutoff = cutoff , weight = weight )
find shortest weighted paths in g from a source node .