Move drawio.js from plugin to core #5943
Replies: 5 comments 14 replies
-
|
@deajan , One of the main criteria of embedding a plugin is if it we can self-host all the dependencies. The plugin embeds diagrams.net, so it's not fully self-sufficient. We can only have it once we have a plugin system in place, since Draw.io is quite big (~100-200 MB in assets). Will move to plugin ideas for now. |
Beta Was this translation helpful? Give feedback.
-
|
@SiriusXT logseq refugee here, looking for alternatives. Trilium-next seems to tick all the modern boxes except for some plugin system supporting draw.io, I used it quite extensively there with technical notes. |
Beta Was this translation helpful? Give feedback.
-
|
I strongly advise against embedding drawio because, although it is open-source software, it provides compiled results rather than pre-compiled source code. I somewhat consider this to be misleading. Additionally, this practice makes it difficult to patch it according to Trilium’s actual needs.(In one version, they removed the export to vsdx functionality. After updating, when I tried to add this feature back, I discovered that what they provided was not the actual source code. This greatly diminished my positive feelings towards the software, as I started using it precisely because it was open-source.) |
Beta Was this translation helpful? Give feedback.
-
|
@deajan my bad - issue fixed and this works a treat even with my flatpak install, exactly fits my needs, really amazed by how powerful trilium is when combined with draw.io like this. Thank you! I'll test this in the work mac tomorrow. For anyone landing here, when downloading the two files from SiriusXT repo, click on the file and "Download as Raw. |
Beta Was this translation helpful? Give feedback.
-
|
@deajan one thing I noticed in both Mac and Linux on trilium 0.101.3 is that after opening trilium and browsing to a note with a draw.io diagram, the diagram can be clicked, the svg note gets opened, where you can click again and the draw.io editor shows embedded, perfect. After closing draw.io and returning to your notes, if you click again in ANY note with a diagram, and then click on the diagram, the corresponding svg note opens "empty", with nothing visible in it, and the draw.io editor does not open. is this your experience as well? in linux I use trilium flatpak, in my mac the .dmg version, and both behave with exactly the same problem |
Beta Was this translation helpful? Give feedback.






Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe feature
So I've used excalidraw in the past with old Trilium versions, but since I found out about this plugin developped by @SiriusXT , I cannot live without it in my field.
I use it way too much to draw IT schemas, and so do people I work with that I convinced to use TriliumNext.
DrawIO comes with an object lib, and makes so much sense for IT/technical schemas/engineers.
I also guess that TriliumNext targets that audience.
Would it be possible perhaps to add this by default to TriliumNext ?
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions