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.1.3.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

ipyelk-0.1.3-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipyelk-0.1.3.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8

File hashes

Hashes for ipyelk-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e0ac540c02526efc1c422f925ddbc0a6e45b08eb36830ce415e9a8b63aac9303
MD5 e20843a33b4d6a89886699bb684f35e4
BLAKE2b-256 0a5aaf0eb57b53cc643ee0b5f9def8f9097601ca85882b44af8d8f9a2886772f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ipyelk-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 26.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8

File hashes

Hashes for ipyelk-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 30fbb1b2dff2da53169a0ee3fd0c589169c4e7a12db7fefbbc5862a16b080b1b
MD5 bb90ed17d96f65a1fad9706bb57c891c
BLAKE2b-256 480dc4659a92c67833ed3d881c5d7d729c2a9411bcfb73ca7b076f448f757307

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