networksns.centrality_measures.graph_slice

networksns.centrality_measures.graph_slice(G, t)

extract a slice/snapshot of the Dynamic graph, that is a snapshot of the graph \(G\) at time \(t\) in NetworkX format.

Parameters:
  • G (DynGraph or DynDiGraph object.) –

  • t (float; snapshot time.) –

:param : Snapshot at time \(t\) of \(G\). :type : return s: (NetworkX Graph object)