code: def label_edges(self, graph):
      for data in multidigraph_edge_data_iterator(graph):
          if data["type"] == self.edge_type_to_predict:
              data["y_edge"] = 1
          else:
              data["y_edge"] = 0
  
file_path: typedb-ml/typedb_ml/pytorch_geometric/transform/binary_link_prediction.py
imports: import networkx
  from typedb_ml.networkx.iterate import multidigraph_edge_data_iterator
  from typedb_ml.typedb.type import get_edge_type_triplets, reverse_edge_type_triplets
label_desc: Use image node_id 3 for calling the LinkPredictionLabeller obj's underlying member method code with example usage: obj.label_edges(graph) without return types