dynetx.DynDiGraph.predecessors_iter

DynDiGraph.predecessors_iter(n, t=None)

Return an iterator over predecessors nodes of n at time t (optional).

Parameters:
  • n (node) – Nodes can be, for example, strings or numbers. Nodes must be hashable (and not None) Python objects.
  • t (snapshot id (default=None)) – If None will be returned the presence of the interaction on the flattened graph.