tnetwork.DynGraphSN.add_snapshot

DynGraphSN.add_snapshot(t=None, graphSN=None)[source]

Add a snapshot for a time step t

Parameters:
  • t – the time step identifier. If none, the last one + 1
  • graphSN – the graph to add (networkx object), if None, add an empty snapshot