IPySigma-Demo
August 6, 2017 ยท View on GitHub
current version: 0.1.4
This is a demo version of the IPySigma jupyter/node.js application for graph visualization.
IPySigma is a lightweight python package coupled with a node-express/socket.io app. It is designed to support a seamless workflow for graph visualization in jupyter notebook by using the jupyterlab/services javscript library to leverage communication between networkx objects and sigma.js.
Manual Install:
git clone this repo and install both the python and node components.
Python
The prototype python package is contained in the ipysig folder.
-
From the root directory: Build and activate a clean python environment>=2.7.10 with requirements.txt using
virtualenv. -
pip install -r requirements.txtto get the required packages.
Node.js
The node-express application is contained in the app folder.
-
Make sure your node version is >= v6.9.4 and that both
npmandbowerare installed globally. -
From the root directory:
cd ./app -
type
npm installto install the node modules locally in theapptop-level folder -
From
app:cd ./browser -
type
bower installto install the bower_components folder (note: these steps might change in future versions with browserify)
Run the Demo
-
At the root directory launch a jupyter notebook server and run the notebook
ipysig_test.ipynb -
Follow the instructions for each cell :)