v0.1.0
First public release. Requires NetBox 4.6.4 – 4.6.99, Python ≥ 3.12, < 3.15.
pip install netbox-drawioOn PyPI: https://pypi.org/project/netbox-drawio/
Features
- Embedded draw.io editor using the draw.io embed protocol — diagram XML travels only between
the browser and NetBox; the editor host never receives it. - Diagrams tab on object detail pages with SVG preview cards, per-card edit / unlink
actions, and Add Diagram / Link Existing buttons. - Many-to-many assignment: one diagram links to any number of objects of any enabled type.
- SVG previews served from a hardened endpoint (CSP,
sandbox,nosniff; rendered via<img>
so embedded scripts can never execute). .drawiosource download.- REST API for diagrams and assignments; the diagram list response omits the
source_xml/
svg_cacheblobs. - Global search, change logging (content blobs excluded; a
content_hashrecords every content
change), tags, custom fields, journaling, and object permissions. - Configurable editor URL and query params, autosave, model scoping (
applied_scope,
scope_filter,excluded_apps,excluded_models), tab placement, and a byte cap on
diagram XML and SVG.
Full changelog: https://github.com/CESNET/netbox_drawio/blob/main/CHANGELOG.md