Python implementation of the graph visualization tool Cytoscape.
With conda
: (recommended)
conda install -c conda-forge ipycytoscape
With pip
:
pip install ipycytoscape
There is an aditional step if you're using JupyterLab:
jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-cytoscape
If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable the nbextension:
jupyter nbextension enable --py [--sys-prefix|--user|--system] ipycytoscape
(requires npm)
git clone https://github.com/QuantStack/ipycytoscape.git
cd ipycytoscape
It's recommended to create a conda environment:
conda create -n ipycytoscape -c conda-forge jupyterlab nodejs
conda activate ipycytoscape
Install and enable extension for jupyter notebook
and jupyter lab
:
python -m pip install -e .
npm install && npm run build
jupyter nbextension install --py --symlink --sys-prefix ipycytoscape
jupyter nbextension enable ipycytoscape --py --sys-prefix
jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-cytoscape
jupyter labextension install js
We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.
This software is licensed under the BSD-3-Clause license. See the LICENSE file for details.