PDF export for Drawio diagrams in JupyterLab
Project description
ipydrawio-export
PDF export of drawio diagrams for Jupyter.
See the project repo for more information.
Installation
pip install ipydrawio-export
Server Extension
ipydrawio-export
runs as a server extension. When installed, it
should be automatically configured. If problems arise, it can be manually
enabled:
jupyter serverextension list # If you don't see it here...
jupyter serverextension enable --sys-prefix --py ipydrawio_export # run this...
jupyter serverextension list # ... then check it again
Command-Line Usage
Exporting PDF
PDF can also be generated from the command line:
pip install ipydrawio-export
jupyter drawio-export pdf some_file.dio
If needed, the nodejs
application will be installed into the Jupyter data
path.
jupyter config --paths # it uses the one in the environment
In the future, it's hoped this can be packaged more conveniently.
Provisioning
To ensure the nodejs
application is installed without exporting a PDF (e.g
when building a docker
container).
jupyter ipydrawio-export provision
Open Source
This work is licensed under the Apache-2.0 License.
The vendored code from @jgraph/draw-image-export2 is also licensed under the Apache-2.0 License.
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
Built Distribution
Hashes for ipydrawio_export-1.0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1098c6bc0f18c2d97125d8839ff82f9bfb6087a8bed969f07e387c1d8e6008a1 |
|
MD5 | 213f4e45be567a4828f0c0dd6a25d67f |
|
BLAKE2b-256 | 0a8b754d5d3eeaca54dbf9b32610581a3df74c84f0fdbda384d25a1d43714310 |