dynetx.DynGraph.add_path

DynGraph.add_path(nodes, t=None)

Add a path at time t.

Parameters:
  • nodes (iterable container) – A container of nodes.
  • t (snapshot id (default=None)) –

Examples

>>> G = dn.DynGraph()
>>> G.add_path([0,1,2,3], t=0)