ipycytoscape¶
Version: 1.0.3
Visualize graphs using Cytoscape.js in a Jupyter Notebook. You can either create graphs using the ipycytoscape API or create them from:
Quickstart¶
To get started with ipycytoscape, install with pip:
pip install ipycytoscape
or with conda/mamba:
conda install -c conda-forge ipycytoscape
# or with mamba
mamba install -c conda-forge ipycytoscape
Simple Example¶
from ipycytoscape import CytoscapeWidget
import networkx as nx
G = nx.complete_graph(5)
cyto = CytoscapeWidget()
cyto.graph.add_graph_from_networkx(G)
display(cyto)