class_docstr: Represent a single graph with additional attributes.
class_docstr_tok: ["Represent","a","single","graph","with","additional","attributes","."]
docstr: Get all the edges in the graph
  
  Returns
  -------
  edges : list
      List of edges. Each edge is in the shape of the endpoint tuple (src, dst).
code: def get_all_edges(self) -> List[Tuple[int, int]]:
      """
      Get all the edges in the graph
  
      Returns
      -------
      edges : list
          List of edges. Each edge is in the shape of the endpoint tuple (src, dst).
      """
      edges = []
      for i in range(self.get_edge_num()):
          edges.append(
              (self._edge_indices.src[i], self._edge_indices.tgt[i])
          )
      return edges
  
imports: import os
  import warnings
  from collections import namedtuple
  from typing import Any, Callable, Dict, List, Tuple, Union
  import dgl
  import scipy.sparse
  import torch
  from torch.nn.utils.rnn import pad_sequence
  from .utils import EdgeNotFoundException, SizeMismatchException, check_and_expand, entail_zero_padding, int_to_list, slice_to_list
  from .views import BatchEdgeFeatView, BatchNodeFeatView, EdgeView, NodeFeatView, NodeView
label_desc: Use image node_id 17 for calling the GraphData obj's underlying member method code with example usage: obj.get_all_edges() and returns: edges