code: def apsp_dijkstra(A):
      """Runs Dijkstra's on all nodes to compute the all pairs shortest paths."""
      vertex_dists = []
      for vertex in range(A.shape[0]):
          curr_vertex_dists = dijkstra(A, vertex)
          vertex_dists.append(curr_vertex_dists)
      return np.array(vertex_dists)
  
file_path: dragonfly/dragonfly/utils/graph_utils.py
imports: from copy import deepcopy
  import numpy
  from scipy.linalg import eigh
  from .general_utils import get_nonzero_indices_in_vector
label_desc: Use image node_id 12 for calling a global function with example usage: apsp_dijkstra(A) and returns: np