Skip to main content

ipywidgets wrapper around dagre-d3

Project description


ipywidgets library for drawing directed acyclic graphs in jupyterlab using dagre-d3

Build Status codecov PyPI PyPI npm Binder


You can install using pip:

pip install ipydagred3

Or if you use jupyterlab:

pip install ipydagred3
jupyter labextension install @jupyter-widgets/jupyterlab-manager

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] ipydagred3


  • Dynamically create and modify graphs from python
  • Change color, shape, tooltip, etc
  • Click events (click on node or edge and get event in ipywidget indicating source, good for node inspector tools)

Tooltips and Click events


Network example from the first gif Network Example

Tooltip Example from the second gif Tooltip Example

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipydagred3-0.3.7.tar.gz (997.2 kB view hashes)

Uploaded source

Built Distribution

ipydagred3-0.3.7-py2.py3-none-any.whl (1.4 MB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page