Skip to content
forked from cthoyt/nx2d3

Display NetworkX graphs inline in Jupyter notebooks

Notifications You must be signed in to change notification settings

ddomingof/nx2d3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nx2d3

Display NetworkX graphs inline in Jupyter notebooks

Installing

For users:

$ pip install git+https://github.com/cthoyt/nx2d3.git

For developers:

$ git clone https://github.com/cthoyt/nx2d3.git; pip install -e .

Example

import networkx as nx
import nx2d3
G = nx.petersen_graph()
nx2d3.embed_networkx(G)

Note: GitHub will not render custom javascript on https://github.com/cthoyt/nx2d3/blob/master/example.ipynb. Instead, try nbviewer http://nbviewer.jupyter.org/github/cthoyt/nx2d3/blob/master/example.ipynb or viewing the notebooks in jupyter notebook locally.

About

Display NetworkX graphs inline in Jupyter notebooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 54.0%
  • Python 46.0%