ELK widget for Jupyter
Project description
ipyelk
Jupyter Widgets for interactive graphs powered by the Eclipse Layout Kernel (ELK).
Install | Demo | Build | Docs |
---|---|---|---|
Examples CHANGELOG CONTRIBUTING |
Screenshots
what can you do... | ... with ipyelk |
---|---|
automatically lay out complex, nested data as diagrams | |
interactive activity/flow-chart diagrams | |
collapsible blocks | |
visual simulations |
Prerequisites
python >=3.7
JupyterLab compatibility
jupyterlab |
ipyelk |
special concerns |
---|---|---|
==1.* |
>1 |
needs nodejs >10 jupyter labextension install @jupyrdf/jupyter-elk backports, etc. land on the 0.3.x branch |
==2.* |
>1 |
untested |
==3.* |
>=1 |
Install
ipyelk
is distributed on conda-forge and PyPI.
ipyelk
with conda
(recommended)
conda install -c conda-forge ipyelk jupyterlab=3
ipyelk
with pip
install nodejs
with a package manager
pip install ipyelk jupyterlab=3
Developing
See CONTRIBUTING for a development install.
How it works
In your kernel, ipyelk
:
In your jupyter_server
:
- serve the
@jupyrdf/jupyter-elk
assets as a federated module
In the browser, @jupyrdf/jupyter-elk
:
- ELK lays out the diagram in a WebWorker
- sprotty draws the diagram as SVG
- interaction information (like selection and hovering) are passed back to the browser
Uninstall
pip uninstall ipyelk
Open Source
This work is licensed under the BSD-3-Clause License. It contains pieces derived from other works.
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
ipyelk-2.0.0a0.tar.gz
(622.9 kB
view details)
Built Distribution
File details
Details for the file ipyelk-2.0.0a0.tar.gz
.
File metadata
- Download URL: ipyelk-2.0.0a0.tar.gz
- Upload date:
- Size: 622.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7341b9d867529535a87d99996f74b4182107013b8c36c7b17d5b96b88f4f5c3b
|
|
MD5 |
b95fd539ecd0c6beb2ae734d6d0ba561
|
|
BLAKE2b-256 |
0334d1e7f15606ec0b80f0461b1a802268457528de7fbcbf59dd3c40314f1e89
|
File details
Details for the file ipyelk-2.0.0a0-py3-none-any.whl
.
File metadata
- Download URL: ipyelk-2.0.0a0-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
72b7574c16b746ab811619b8a1d30d7e0927ceee0f1b3f10b71ac67a7ffc58d2
|
|
MD5 |
35d34a96f4cf22d42c7d9f60bf533742
|
|
BLAKE2b-256 |
2549d9e4eb376b5a8dedaee26ed0ec3da7819211512ce038a29b9aa1407a4b55
|