code: def get_parents(node_idx, A):
      """Returns the parents of node_idx according to the adjacency matrix A."""
      return get_nonzero_indices_in_vector(A[:, node_idx])
  
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 11 for calling a global function with example usage: get_parents(node_idx, A) and returns: get_nonzero_indices_in_vector