tnetwork.DynGraphSN.cumulated_graph

DynGraphSN.cumulated_graph(times=None)[source]

Compute the cumulated graph.

Return a networkx graph corresponding to the cumulated graph of the given period (whole graph by default)

Parameters:times – list/set of time steps ID of snapshots to cumulate. Default (None) means all snapshots
Returns:a networkx (weighted) graph