code: def parse_edge(self, data, meta, id, weight, index_data):
      node_id = id[0]
      dst_id = id[1]
      iid = edgeIdHash(id[0], id[1], id[2])
  
      for key in data:
          if key == "features" and "features" in meta:
              for f in data["features"]:
                  fname = f["name"]
                  fdict = meta["features"]
                  if fname in fdict:
                      for vidx in fdict[fname]:
                          indexkey = fdict[fname][vidx]
                          value = f["value"][int(vidx)]
                          if indexkey.endswith("neighbor_index"):
                              self.check_dict(
                                  self.edge_neighbor_index,
                                  indexkey,
                                  "dict",
                              )
                              self.check_dict(
                                  self.edge_neighbor_index[indexkey],
                                  node_id,
                              )
                              self.edge_neighbor_index[indexkey][
                                  node_id
                              ].append((value, dst_id, weight))
                          else:
                              self.check_dict(index_data, indexkey)
                              index_data[indexkey].append(
                                  (value, iid, weight)
                              )
          else:
              if key in meta:
                  indexkey = meta[key]
                  if indexkey.endswith("neighbor_index"):
                      self.check_dict(
                          self.edge_neighbor_index, indexkey, "dict"
                      )
                      self.check_dict(
                          self.edge_neighbor_index[indexkey], node_id
                      )
                      self.edge_neighbor_index[indexkey][
                          node_id
                      ].append((data[key], dst_id, weight))
                  else:
                      self.check_dict(index_data, indexkey)
                      index_data[indexkey].append(
                          (data[key], iid, weight)
                      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import json
  import sys
  import struct
  from euler.tools import json2meta
  from euler.tools.util import *
  import os
label_desc: Use image node_id 6 for calling the Converter obj's underlying member method code with example usage: obj.parse_edge(data, meta, id, weight, index_data) without return types