code: def shortest_path(
      G,
      source=None,
      method=None,
      directed=None,
      return_predecessors=None,
      unweighted=None,
      overwrite=None,
      indices=None,
  ):
      """
      Alias for sssp(), provided for API compatibility with NetworkX. See sssp()
      for details.
      """
      return sssp(
          G,
          source,
          method,
          directed,
          return_predecessors,
          unweighted,
          overwrite,
          indices,
      )
  
file_path: cugraph/python/cugraph/cugraph/traversal/sssp.py
imports: import numpy
  import cudf
  from cugraph.structure import Graph, MultiGraph
  from cugraph.utilities import ensure_cugraph_obj, is_matrix_type, is_cp_matrix_type, is_nx_graph_type, cupy_package
  from pylibcugraph import sssp, ResourceHandle
label_desc: Use image node_id 5 for calling a global function with example usage: shortest_path(G, source, method, directed, return_predecessors, unweighted, overwrite, indices) and returns: sssp