code: def preds(self, nodeids=None):
          
          if nodeids is None: nodeids = self._nodeids
          _eps = self._eps
          return [_eps[nid][1] for nid in nodeids]
docs: Return the Pred objects for *nodeids*, or all Preds.
  
          Args:
              nodeids: an iterable of nodeids of predications to return
                  Preds from; if `None`, return all Preds