Drawio diagrams for JupyterLab. Forked with heart from QuantStack/jupyterlab-drawio.
 
 
 
 
 
 
Go to file
Nicholas Bollweg 8fc25e1457
Update docs.md
2021-02-10 23:14:00 -05:00
.github Update docs.md 2021-02-10 23:14:00 -05:00
atest Fix notebook meta (#15) 2021-01-29 17:12:44 -05:00
binder Rebrand, Add Widgets, JupyterLab 3 (#12) 2021-01-29 10:02:28 -05:00
docs Fix notebook meta (#15) 2021-01-29 17:12:44 -05:00
notebooks Split up packages (#1) 2020-08-08 09:45:27 -04:00
packages Update some docs, add classic config (#17) 2021-01-31 16:28:18 -05:00
py_packages Update some docs, add classic config (#17) 2021-01-31 16:28:18 -05:00
scripts Update some docs, add classic config (#17) 2021-01-31 16:28:18 -05:00
.eslintignore Rebrand, Add Widgets, JupyterLab 3 (#12) 2021-01-29 10:02:28 -05:00
.eslintrc.js Rebrand, Add Widgets, JupyterLab 3 (#12) 2021-01-29 10:02:28 -05:00
.gitignore Rebrand, Add Widgets, JupyterLab 3 (#12) 2021-01-29 10:02:28 -05:00
.gitmodules Rebrand, Add Widgets, JupyterLab 3 (#12) 2021-01-29 10:02:28 -05:00
.isort.cfg Split up packages (#1) 2020-08-08 09:45:27 -04:00
.yarnrc Rebrand, Add Widgets, JupyterLab 3 (#12) 2021-01-29 10:02:28 -05:00
CHANGELOG.md Update some docs, add classic config (#17) 2021-01-31 16:28:18 -05:00
CONTRIBUTING.md Fix notebook meta (#15) 2021-01-29 17:12:44 -05:00
LICENSE.txt add LICENSE.txt 2018-02-08 17:46:55 +01:00
README.md Update some docs, add classic config (#17) 2021-01-31 16:28:18 -05:00
RELEASE.md Add pdf severextension (#5) 2020-08-09 21:54:30 -04:00
ROADMAP.md Rebrand, Add Widgets, JupyterLab 3 (#12) 2021-01-29 10:02:28 -05:00
dodo.py Fix notebook meta (#15) 2021-01-29 17:12:44 -05:00
environment.yml Rebrand, Add Widgets, JupyterLab 3 (#12) 2021-01-29 10:02:28 -05:00
jupyter_notebook_config.json Add pdf severextension (#5) 2020-08-09 21:54:30 -04:00
lerna.json Split up packages (#1) 2020-08-08 09:45:27 -04:00
overrides.json Rebrand, Add Widgets, JupyterLab 3 (#12) 2021-01-29 10:02:28 -05:00
package.json Rebrand, Add Widgets, JupyterLab 3 (#12) 2021-01-29 10:02:28 -05:00
setup.cfg Split up packages (#1) 2020-08-08 09:45:27 -04:00
yarn.lock Update some docs, add classic config (#17) 2021-01-31 16:28:18 -05:00

README.md

IPyDrawio

Drawio diagrams for JupyterLab. Forked with ❤️ from QuantStack/jupyterlab-drawio.


Install · History · Roadmap · Contribute · Open Source

install from pypi reuse from npm build


This is ALPHA software. Native drawio files created with these tools should work with any other drawio client, but any UI/API is liable to change at any time.

Installation

pip install ipydrawio ipydrawio-export
# TBD: conda install -c conda-forge ipydrawio

Features

  • ipydrawio
  • ipydrawio-export
    • Export print-quality PDF from diagrams
      • BEWARE: some heavy, maybe fragile dependencies

      • include editable Drawio metadata

Examples

Note Screenshot/Example
A Binder demo with a full contributing environment binder-badge
Screenshot of drawio "minimal" UI with export options poster-min
The beginning of an interactive computational poster poster
A mixed computational/creative roadmap for this project ~~Screenshot Needed~

Usage

PDF: Lab and Server extensions

ipydrawio-export can generate print-quality PDF. This approach relies on a headless browser, powered by @jgraph/draw-image-export2 and ultimately puppeteer which in turn requires nodejs.

  • native dependencies as required to appease puppeteer
    • if running in docker, this can be a bit trial-and-error
    • for more, see the binder and CI.
  • nodejs>10,<14 from conda or your system package manager
    • NOTE: this relies on being able to install puppeteer (and other arbitrary dependencies with jlpm for now when first used
      • we'll figure out a better approach soon enough
  • pip install ipydrawio-export

For example:

conda install -yc conda-forge nodejs=12
pip install ipydrawio-export

Open Source

License

All files herein, unless otherwise noted, are free software licensed under Apache 2.0.

The copyright holders of this extension are the contributors to this repository.

Portions of the JupyterLab components are derived from QuantStack/jupyterlab-drawio.

The copyright holders of drawio and drawio-export is jgraph.

The original source code vendored in this package from: