Python package to build and manipulate temporal graphs.
https://networkx-temporal.org โ HEALTH ? 62 / Stable
Python package to build and manipulate temporal graphs.
https://networkx-temporal.org โ// readme
Python package to build and manipulate temporal graphs using NetworkX as backend.
Available for Python 3.7+ from PyPI:
$ pip install 'networkx-temporal[draw]'
The
[draw]extra includes additional libraries required to plot graphs with NetworkX.
Requires networkx >=2.1, numpy >=1.17.3, pandas >=1.1.0, scipy >=1.7.3.
Optional dependencies can be installed from the groups all, docs, draw, ipynb.
For detailed information on using the package, please refer to its official documentation.
An interactive Jupyter notebook with more examples is also available here (open on Colab).
>>> import networkx_temporal as tx
>>>
>>> TG = tx.temporal_graph(directed=True) # tx.TemporalMultiDiGraph()
>>>
>>> TG.add_edge("a", "b", time=0)
>>>โฆ