Draw.io: I integrated draw.io into obsidian! (fully offline)

Hey everyone!

I’ve created a plugin that integrates draw.io (diagrams.net) into Obsidian — and the best part is: it works completely locally!

This plugin is an alternative to this one, but my main goal was to make it fully offline — and I’m happy to say it works! :tada:

The plugin isn’t listed in the official Obsidian community plugin gallery yet — it’s still a work in progress — but once everything is polished, I’ll submit it for inclusion.

In the meantime, if you’re looking for a fully local draw.io editor inside Obsidian, you can install it manually right now!


:folded_hands: Special Thanks

Big thanks to developer this plugin — exploring its source code helped me discover that draw.io has an open-source web app version.

Also, thanks to developer this plugin — by studying how it works, I realized it’s possible to embed draw.io into Obsidian using an <iframe>.

Thanks as well to the developers of draw.io for making such a powerful diagramming tool open-source — this openness made the whole idea feasible in the first place.

I’m truly glad to contribute, even in a small way, to the Obsidian ecosystem, and I hope this plugin proves useful to someone out there!

5 Likes

Sweet! Thank You so much!

Works with BRAT?

Hello! Technically, almost… it will be able to download all the main files (main.js, manifest.json, styles.css), but you’ll have to manually download the webapp.zip archive (it draw.io) and unpack it into the plugin folder. You can download the archive from the release page or use this direct download link from the release.

Initially, I thought all necessary files would be downloaded by Obsidian directly from the release, but it seems I was mistaken. I’ll need to rewrite the logic so that when the plugin is enabled, it automatically downloads and unpacks the archive itself. Thanks for the question and feedback.