dynetx.DynDiGraph.predecessors

DynDiGraph.predecessors(n, t=None)

Return a list of predecessor nodes of n at time t (optional).

Parameters

nnode

Nodes can be, for example, strings or numbers. Nodes must be hashable (and not None) Python objects.

tsnapshot id (default=None)

If None will be returned the presence of the interaction on the flattened graph.