dynetx.DynDiGraph.predecessors

DynDiGraph.predecessors(n, t=None)

Return a list of predecessor 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.