# trilium-drawio
version: 0.7.7
Update
- Most of the widget’s logic has been rewritten to adapt to the latest version of Trilium. Several potential bugs have also been fixed, resulting in improved stability and reliability.
Draw.io is a editor for general diagramming and whiteboarding. This widget allows you to use drawio drawing in trilium.
Two Installation Methods
Method 1
- Create a code note of type JS Frontend, paste the contents of
trilium-drawio.js into it, and add the #widget tag
- Import
drawio.svg into Notes and assign it the #template tag
- Reload the frontend
Method 2
- Directly download the latest
trilium-drawio.zip from the Releases page
- Then import it into Trilium. Note: you do not need to enable secure import.
- Reload the frontend
Tips
- The saved format is svg
- Click on the svg image to enter the editing state
- Will call the drawio website. Default is official hosted version; can be self-hosted
FAQ
Q1: Does removing or disabling the widget mean my Draw.io notes are lost?
A1: No. Draw.io diagrams are stored as SVG files inside Trilium. Even if you remove this widget, your Draw.io notes will remain fully usable. You can even open them via Advanced → Open note externally and edit them using a locally installed Draw.io desktop application, without relying on this widget at all.
Preview
