ipywidgets wrapper around dagre-d3
Project description
ipydagred3
ipywidgets library for drawing directed acyclic graphs in jupyterlab using 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)
Tooltips and Click events
Examples
Network example from the first gif Network Example
Tooltip Example from the second gif Tooltip Example
Project details
Release history Release notifications | RSS feed
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.2.2.tar.gz
(2.7 MB
view hashes)
Built Distribution
Close
Hashes for ipydagred3-0.2.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ebcf2af1b16c014e36712a5b7e551cd84992c78fd5879a4e0fde441a53f2cdf |
|
MD5 | 617a37b6493bd199e5e856ff2e822c4f |
|
BLAKE2b-256 | 6388c519b3b1fc32ce07132f71e2181f8aa2620020bdfd02a46a8704ea42f288 |