# `ipyelk`
[Jupyter Widgets][widgets] for interactive graphs powered by the [Eclipse Layout Kernel
(ELK)][elk].
| Install | Demo | Build | Docs |
| :-----------------------------------------------------------------------------------: | :-------------------------: | :-----------------: | :----------------------------------------------------------------------------------: |
| [![npm-badge]][npm] <br/> [![pypi-badge][]][pypi] <br/> [![conda-badge]][conda-forge] | [![binder-badge][]][binder] | [![ci-badge][]][ci] | [![][docs-badge]][docs] <br/> [Examples][] <br/>[CHANGELOG][] <br/> [CONTRIBUTING][] |
## Screenshots
| what can you do... | ... with `ipyelk` |
| ------------------------------------------------------ | ------------------------------ |
| automatically lay out complex, nested data as diagrams | ![][screenshot] |
| interactive activity/flow-chart diagrams | ![][screenshot-activities] |
| collapsible blocks | ![][screenshot-activity-block] |
| visual simulations | ![][screenshot-1-bit] |
## Prerequisites
- `python >=3.7`
### JupyterLab compatibility
| `jupyterlab` | `ipyelk` | special concerns |
| ------------ | -------- | ------------------------------------------------------------------------------------------------------------------------- |
| `==1.*` | `>1` | needs `nodejs >10`<br/>`jupyter labextension install @jupyrdf/jupyter-elk`<br/>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)
```bash
conda install -c conda-forge ipyelk jupyterlab=3
```
### `ipyelk` with `pip`
install `nodejs` with a [package manager][package-manager]
```bash
pip install ipyelk jupyterlab=3
```
### Developing
See [CONTRIBUTING][] for a development install.
## How it works
In your kernel, `ipyelk`:
- build [ELK JSON][elk-json]
- optionally, use [networkx][]
In your `jupyter_server`:
- serve the `@jupyrdf/jupyter-elk` assets as a
[federated module](https://jupyterlab.readthedocs.io/en/latest/extension/extension_dev.html#prebuilt-extensions)
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
```bash
pip uninstall ipyelk
```
## Open Source
This work is licensed under the [BSD-3-Clause License][license]. It contains pieces
derived from [other works][copyright].
[copyright]: https://github.com/jupyrdf/ipyelk/tree/master/COPYRIGHT.md
[license]: https://github.com/jupyrdf/ipyelk/tree/master/LICENSE.txt
[docs]: https://ipyelk.readthedocs.org
[docs-badge]: https://readthedocs.org/projects/ipyelk/badge/?version=latest
[examples]: https://github.com/jupyrdf/ipyelk/tree/master/examples/_index.ipynb
[contributing]: https://github.com/jupyrdf/ipyelk/tree/master/CONTRIBUTING.md
[changelog]: https://github.com/jupyrdf/ipyelk/tree/master/CHANGELOG.md
[ci-badge]: https://github.com/jupyrdf/ipyelk/workflows/CI/badge.svg
[ci]: https://github.com/jupyrdf/ipyelk/actions?query=workflow%3ACI+branch%3Amaster
[binder-badge]: https://mybinder.org/badge_logo.svg
[binder]:
https://mybinder.org/v2/gh/jupyrdf/ipyelk/master?urlpath=lab%2Ftree%2Fexamples%2F_index.ipynb
[elk-json]:
https://www.eclipse.org/elk/documentation/tooldevelopers/graphdatastructure/jsonformat.html
[elk]: https://github.com/kieler/elkjs
[jupyterlab]: https://github.com/jupyterlab/jupyterlab
[networkx]: https://networkx.github.io
[sprotty]: https://github.com/eclipse/sprotty
[widgets]: https://jupyter.org/widgets
[screenshot]:
https://user-images.githubusercontent.com/7581399/90518838-40820300-e135-11ea-8e68-b19356794c78.png
[screenshot-activities]:
https://user-images.githubusercontent.com/7581399/105381388-f36ef500-5bdc-11eb-8208-d227951b806e.gif
[screenshot-activity-block]:
https://user-images.githubusercontent.com/7581399/105381390-f4a02200-5bdc-11eb-808e-844ee17cad8f.gif
[screenshot-1-bit]:
https://user-images.githubusercontent.com/7581399/105381389-f4a02200-5bdc-11eb-975d-e4a09c4f0c96.gif
[npm-badge]: https://img.shields.io/npm/v/@jupyrdf/jupyter-elk
[npm]: https://www.npmjs.com/package/@jupyrdf/jupyter-elk
[pypi]: https://pypi.org/project/ipyelk
[pypi-badge]: https://img.shields.io/pypi/v/ipyelk
[conda-badge]: https://img.shields.io/conda/vn/conda-forge/ipyelk
[conda-forge]: https://anaconda.org/conda-forge/ipyelk/
[package-manager]: https://nodejs.org/en/download/package-manager
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共109个文件
py:77个
js:14个
txt:7个
资源分类:Python库 所属语言:Python 资源全名:ipyelk-2.0.0a0.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
Python库 | ipyelk-2.0.0a0.tar.gz (109个子文件)
setup.cfg 2KB
epl-v10.html 12KB
MANIFEST.in 364B
elk-worker.5527574468dc4ef9a43b.worker.js 1.69MB
478.e3c0096a462aa05ff5c2.js 368KB
257.780498ac36da98d634bf.js 72KB
elkdisplay.1a1bd115bb94d9ec8f17.js 37KB
578.ae6be4abce78d1804a4b.js 22KB
660.6167a01da811b2dd9ad4.js 9KB
480.037ce541a1626ff225d5.js 9KB
549.1f2e7970f02425dd02ea.js 8KB
remoteEntry.dbac17d2946c715f302c.js 7KB
elkexporter.6696ac5ab3fe040a23e5.js 7KB
elklayout.5e27315f1d6e32aceb37.js 4KB
568.925ec20e9edd42263826.js 466B
365.f3dae74f8713b6c5a54f.worker.js 365B
style.js 164B
elkschema.json 11KB
package.json 3KB
install.json 173B
README.md 5KB
COPYRIGHT.md 878B
not-zip-safe 1B
PKG-INFO 7KB
PKG-INFO 7KB
model.py 27KB
node_options.py 19KB
port_options.py 15KB
elements.py 14KB
index.py 14KB
edge_options.py 13KB
logic_gates.py 9KB
nxutils.py 6KB
diagram.py 5KB
extended.py 5KB
activity.py 5KB
shapes.py 4KB
selection_widgets.py 4KB
spacing_options.py 4KB
sprotty_viewer.py 4KB
mark_factory.py 3KB
pipeline.py 3KB
connectors.py 3KB
valid.py 3KB
view_tools.py 3KB
wrapping_options.py 3KB
layout.py 3KB
block.py 3KB
text_sizer.py 3KB
__init__.py 3KB
symbol.py 3KB
base.py 2KB
loader.py 2KB
nxloader.py 2KB
test_pipes.py 2KB
styled_widget.py 2KB
toolbar.py 2KB
tool.py 2KB
util.py 2KB
serialization.py 2KB
marks.py 2KB
__init__.py 2KB
progress.py 2KB
test_nodes.py 2KB
export.py 1KB
setup.py 1KB
collapser.py 1KB
flows.py 1KB
viewer.py 1KB
registry.py 1KB
structures.py 1KB
test_marks.py 1KB
visibility.py 1KB
elkjs.py 1KB
mappings.py 1KB
common.py 996B
trait_types.py 902B
validator.py 816B
__init__.py 743B
__init__.py 682B
json.py 661B
util.py 661B
__init__.py 638B
element_loader.py 531B
test_label_schema.py 483B
_version.py 446B
flow.py 429B
__init__.py 400B
exceptions.py 377B
__init__.py 304B
painter.py 269B
__init__.py 229B
__init__.py 181B
test_meta.py 170B
conftest.py 94B
__init__.py 94B
__init__.py 94B
__init__.py 94B
__init__.py 94B
__init__.py 94B
共 109 条
- 1
- 2
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 萤石云固件CS-XP1-8B4WF
- HTML5小游戏【农场连连看-优秀H5小游戏合集】游戏源码分享下载 - farm.zip
- 基于Python的酒店评论情感分析源码+文档(高分项目).zip
- meta-llama-3-8b-instruct 的 model-00003-of-00004.safetensors 的3/3
- nginx配置文件,注意其中需要对应宿主机的路径
- 自用数据集自用数据集自用数据集
- HTML5小游戏【堆雪人-优秀H5小游戏合集】游戏源码分享下载 - epicsnowman.zip
- SNMP Client 是SNMP测试工具
- Android Camera内存统计脚本
- AD9220高速数据芯片硬件参考设计原理图+STM32F103单片机驱动程序代码+芯片技术手册资料.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功