Self-hosted draw.io diagram editor extension for piclaw.
Requires Piclaw >=1.8.0.
Open Settings → Add-Ons and install drawio-editor from the catalog.
/drawio/* serving the draw.io webapp in embed modeopen_drawio_editor tool for the agent.drawio, .drawio.xml, .drawio.svg, .drawio.png, and .xml workspace filesopen_drawio_editorPOST /drawio/save and supports read-only attachment/media previewThe draw.io webapp (~44MB) is not included in this addon package. It must be vendored separately:
vendor/ directory inside this addon's install pathUses piclaw's globalThis.__piclaw_registerRoute to serve the draw.io webapp.
A wrapper page at /drawio/edit?path=... (also accepted as /drawio/edit.html) embeds the editor in an iframe and handles
the postMessage protocol for load/save via the piclaw raw file API.