code: def node_to_evidence(self, entity_node, is_direct):
          
  
          # We assume that the entire event is within a single sentence, and
          # get this sentence by getting the sentence containing one of the
          # entities
          sentence_text = self.G.node[entity_node]['sentence_text']
  
          # Make annotations object containing the fully connected subgraph
          # containing these nodes
          subgraph = self.connected_subgraph(entity_node)
          edge_properties = {}
          for edge in subgraph.edges():
              edge_properties[edge] = subgraph.edges[edge]
  
          annotations = {'node_properties': subgraph.node,
                         'edge_properties': edge_properties}
  
          # Make evidence object
          epistemics = dict()
          evidence = Evidence(source_api='tees',
                              pmid=self.pmid,
                              text=sentence_text,
                              epistemics={'direct': is_direct},
                              annotations=annotations)
          return evidence
docs: Computes an evidence object for a statement.
  
          We assume that the entire event happens within a single statement, and
          get the text of the sentence by getting the text of the sentence
          containing the provided node that corresponds to one of the entities
          participanting in the event.
  
          The Evidence's pmid is whatever was provided to the constructor
          (perhaps None), and the annotations are the subgraph containing the
          provided node, its ancestors, and its descendants.