Skip to main content

ELK widget for Jupyter

Project description

ipyelk

Jupyter Widgets for interactive graphs powered by the Eclipse Layout Kernel (ELK).

Install Demo Build Docs
npm-badge
pypi-badge
conda-badge
binder-badge ci-badge CHANGELOG
CONTRIBUTING
examples

Interactive diagrams with elk.js, sprotty in JupyterLab

Prerequisites

  • python >=3.7
  • jupyterlab >=1,<2 JupyterLab 2+ compatibility coming soon!
  • nodejs >=10,<14

Install

ipyelk is distributed on conda-forge and PyPI.

ipyelk with conda (recommended)

conda can also install nodejs.

conda install -c conda-forge ipyelk jupyterlab=1 nodejs

ipyelk with pip

install nodejs with a package manager

pip install ipyelk jupyterlab=1

@jupyrdf/jupyter-elk with jupyter labextension install

@jupyrdf/jupyter-elk is distributed on npm, and relies on @jupyter-widgets/jupyterlab-manager.

jupyter labextension install @jupyter-widgets/jupyterlab-manager @jupyrdf/jupyter-elk

Developing

See CONTRIBUTING for a development install.

How it works

In your kernel, ipyelk:

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
jupyter labextension uninstall @jupyrdf/jupyter-elk

Open Source

This work is licensed under the BSD-3-Clause License. It contains pieces derived from other works.

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

ipyelk-0.2.0.tar.gz (42.0 kB view details)

Uploaded Source

Built Distribution

ipyelk-0.2.0-py3-none-any.whl (53.5 kB view details)

Uploaded Python 3

File details

Details for the file ipyelk-0.2.0.tar.gz.

File metadata

  • Download URL: ipyelk-0.2.0.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.8

File hashes

Hashes for ipyelk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 afe4f896a8513a0d812f35b3cb083b21ac40d496b7c471a4a66d5dcaa7998cbe
MD5 2b1bc996bf978a26d1b5a507039dc677
BLAKE2b-256 483abe355f7c4842771789c3e2c0d876de3dffcd64380f4e560b43bc7aee1127

See more details on using hashes here.

Provenance

File details

Details for the file ipyelk-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ipyelk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 53.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.8

File hashes

Hashes for ipyelk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5522e3765c2fd9a24ad776e487eb0c0cf0fa90d7cf1c26f2700beb489303fba5
MD5 9a1531cfa2bc08831d9da2375cd0c52b
BLAKE2b-256 2fd39456bde1e16256fc9d5b1968e9ea9c19f81c113226b3a6ce2965af70eed5

See more details on using hashes here.

Provenance

Supported by

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