ipydagred3
ipywidgets wrapper around dagre-d3
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)