Skip to main content

jupyterlab_drawio_render_extension

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

[!TIP] This extension is part of the stellars_jupyterlab_extensions metapackage. Install all Stellars extensions at once: pip install stellars_jupyterlab_extensions

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 - Scroll to zoom, drag to pan, layers panel, and lightbox view
  • PNG export - Right-click to copy or download diagram as PNG with configurable DPI
  • Configurable background - Choose from default (theme), black, white, or custom hex color
  • Full stencil support - Veeam, Cisco, AWS, Azure, GCP, and all vendor shapes
  • Offline capable - Viewer library served locally, no external network requests
  • JupyterLab 4 compatible - Built for the latest JupyterLab release

PNG Export

Right-click on any diagram to access export options:

  • Copy Diagram as PNG - Copy to clipboard at configured DPI
  • Download Diagram as PNG - Save as PNG file

Export automatically crops to diagram content with minimal padding.

Settings

Configure the extension in Settings > Draw.io Viewer:

Viewer Settings

Setting Description Default
Background Viewer background: default (theme), black, white, custom default
Custom Background Color Hex color (e.g., #f0f0f0) when background is custom #ffffff

Export Settings

Setting Description Default
Export DPI Resolution for PNG export (72-1200). Higher = larger file 300
Export Background PNG background: transparent, white, black, custom white

Requirements

  • JupyterLab >= 4.0.0
  • Python >= 3.10

Installation

pip install jupyterlab-drawio-render-extension

Uninstall

pip uninstall jupyterlab-drawio-render-extension

Metadata

Release files for jupyterlab-drawio-render-extension 1.0.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterlab-drawio-render-extension 1.0.19
File Size Uploaded
jupyterlab_drawio_render_extension-1.0.19.tar.gz 7.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-drawio-render-extension 1.0.19
File Interpreter ABI Platform
jupyterlab_drawio_render_extension-1.0.19-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 MB

Release files / jupyterlab_drawio_render_extension-1.0.19.tar.gz

Download URL jupyterlab_drawio_render_extension-1.0.19.tar.gz
Size 7.2 MB
Tags Source
SHA-256 checksum
How to use checksums
58ae0c274eee140840e8daf4e470a666aa8c4ef72f4fc4af6e5563de4304796d
BLAKE2b-256 checksum
How to use checksums
92c1c9031ceb75c0091a37346d5731c6dc8e004cdc7a6f731321b79944d013bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Release files / jupyterlab_drawio_render_extension-1.0.19-py3-none-any.whl

Download URL jupyterlab_drawio_render_extension-1.0.19-py3-none-any.whl
Size 6.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
059bcd8d4ecaa6b16e665bebc706f22e616bc2ab8f5d0f5f00c628dd7f7192d6
BLAKE2b-256 checksum
How to use checksums
f6cedfe34e641862f6faf7fd327af31e6eebd967fc67069290ee1f8380bed938
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.0.19 This release

2 release files

1.0.18

2 release files

1.0.17

2 release files

1.0.16

2 release files

1.0.15

2 release files

1.0.11

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page