Skip to main content

Jupyterlab extension to just render the drawio diagram (viewer in Jupyterlab)

Project description

jupyterlab_drawio_render_extension

GitHub Actions npm version PyPI version Total PyPI downloads JupyterLab 4 Brought To You By KOLOMOLO Donate PayPal

View Draw.io diagrams directly in JupyterLab. Open any .drawio or .dio file and see it rendered with full fidelity - text, shapes, stencils, icons, and styles matching the official Draw.io application.

This extension uses the official Draw.io viewer library from jgraph, served locally from the server extension for offline capability and CSP compliance.

Draw.io Diagram Viewer

Features

  • Full Draw.io rendering - Uses official Draw.io viewer library for pixel-perfect diagram display
  • Read-only viewer - Safe viewing without accidental modifications
  • Interactive controls - Zoom, pan, layers panel, and lightbox view
  • Configurable background - Choose from default (theme), black, white, or custom hex color
  • Offline capable - Viewer library served locally, no external network requests
  • JupyterLab 4 compatible - Built for the latest JupyterLab release

Settings

Configure the viewer background in Settings > Draw.io Viewer:

Setting Description
Background default (theme), black, white, or custom
Custom Background Color Hex color (e.g., #f0f0f0) when background is set to custom

Requirements

  • JupyterLab >= 4.0.0
  • Python >= 3.10

Installation

pip install jupyterlab-drawio-render-extension

Uninstall

pip uninstall jupyterlab-drawio-render-extension

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

jupyterlab_drawio_render_extension-1.0.11.tar.gz (7.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file jupyterlab_drawio_render_extension-1.0.11.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_drawio_render_extension-1.0.11.tar.gz
Algorithm Hash digest
SHA256 5a83badeb82891dad4a7905f259fad87e75df9d08ca358e568ebe72c203a265c
MD5 527d7ddae5d2bb2e79255c9bd5bb918f
BLAKE2b-256 8d887823d9450cf721be8f90440b59850e2398d7be8f93358eb140b1d30bd697

See more details on using hashes here.

File details

Details for the file jupyterlab_drawio_render_extension-1.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_drawio_render_extension-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 05cc7d5b42d676e60a6d059ae9ae51eded17f35b629a7c29363829a2f21f37b5
MD5 a692cbeab2578e18c93a5a057c780630
BLAKE2b-256 579420c78f36ae07fa144ba12859c338fdcd2dd4dfefd0b2a18fd815f1c132dd

See more details on using hashes here.

Supported by

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