code: def _shortest_paths(graph, *args, **kwds):
      """Deprecated alias to L{Graph.distances()}."""
      deprecated(
          "Graph.shortest_paths() is deprecated; use Graph.distances() instead"
      )
      return graph.distances(*args, **kwds)
  
imports: from igraph._igraph import IN, OUT, arpack_options
  from igraph.statistics import Histogram
  from igraph.utils import deprecated
label_desc: Use image node_id 5 for calling a global function with example usage: _shortest_paths(graph) and returns: graph