MCPcopy Create free account
hub / github.com/SiriusXT/trilium-drawio

github.com/SiriusXT/trilium-drawio @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
17 symbols 33 edges 1 files 0 documented · 0% updated 35d ago★ 1115 open issues

Browse by type

Functions 15 Types & classes 2
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

# trilium-drawio

version: 0.7.7

Update

  1. 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

  1. Create a code note of type JS Frontend, paste the contents of trilium-drawio.js into it, and add the #widget tag
  2. Import drawio.svg into Notes and assign it the #template tag
  3. Reload the frontend

Method 2

  1. Directly download the latest trilium-drawio.zip from the Releases page
  2. Then import it into Trilium. Note: you do not need to enable secure import.
  3. Reload the frontend

Tips

  1. The saved format is svg
  2. Click on the svg image to enter the editing state
  3. 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

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 12
Function 3
Class 2

Languages

TypeScript100%

Modules by API surface

trilium-drawio.js17 symbols

For agents

$ claude mcp add trilium-drawio \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page