/ipydagred3

ipywidgets wrapper for dagre-d3

Primary LanguagePythonApache License 2.0Apache-2.0

ipydagred3

ipywidgets wrapper around dagre-d3

Build Status Coverage PyPI PyPI npm

Installation

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

Features

  • 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

Examples

Example