Skip to content

Commit ea7ad50

Browse files
📝 docs
1 parent a21afb0 commit ea7ad50

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/reference/events.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ To apply one of the first three strategies, use the following snippet:
6363

6464
.. code-block:: python
6565
66-
from cdlib import LifeCycle
66+
from cdlib import LifeCycle, TemporalClustering, algorithms
6767
from networkx.generators.community import LFR_benchmark_graph
6868
6969
tc = TemporalClustering()
@@ -92,7 +92,7 @@ To define custom events, use the following snippet:
9292

9393
.. code-block:: python
9494
95-
from cdlib import LifeCycle
95+
from cdlib import LifeCycle, TemporalClustering, algorithms
9696
from networkx.generators.community import LFR_benchmark_graph
9797
9898
tc = TemporalClustering()
@@ -143,7 +143,7 @@ Here an example of how to analyze community events and flows:
143143

144144
.. code-block:: python
145145
146-
from cdlib import LifeCycle
146+
from cdlib import LifeCycle, TemporalClustering, algorithms
147147
from networkx.generators.community import LFR_benchmark_graph
148148
149149
tc = TemporalClustering()
@@ -186,7 +186,7 @@ Setting and retreiving node attributes is straightforward:
186186

187187
.. code-block:: python
188188
189-
from cdlib import LifeCycle
189+
from cdlib import LifeCycle, TemporalClustering, algorithms
190190
from networkx.generators.community import LFR_benchmark_graph
191191
192192
def random_leaning():
@@ -236,7 +236,7 @@ Here an example of how to visualize community events, flows and polytree:
236236

237237
.. code-block:: python
238238
239-
from cdlib import LifeCycle
239+
from cdlib import LifeCycle, TemporalClustering, algorithms
240240
from cdlib.viz import (
241241
plot_flow,
242242
plot_event_radar,
@@ -290,7 +290,7 @@ Here an example of how to validate the observed flows:
290290

291291
.. code-block:: python
292292
293-
from cdlib import LifeCycle
293+
from cdlib import LifeCycle, TemporalClustering, algorithms
294294
from cdlib.lifecycles.validation import validate_flow, validate_all_flows
295295
from networkx.generators.community import LFR_benchmark_graph
296296

0 commit comments

Comments
 (0)