Skip to content

Commit

Permalink
📝 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRossetti committed May 21, 2024
1 parent 74a0c48 commit a21afb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ To analyze such pre-computed events apply the following snippet:
from cdlib import LifeCycle
from cdlib import algorithms
import dynetx as dn
import networkx as nx
dg = dn.DynGraph()
for x in range(10):
g = nx.erdos_renyi_graph(200, 0.05)
dg.add_interactions_from(list(g.edges()), t=x)
coms = algorithms.tiles(dg, 2)
lc = LifeCycle(coms)
Expand Down

0 comments on commit a21afb0

Please sign in to comment.