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!

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

Draw io hav a desktop version. Already install it. Is your plugin work with that?

Hi! This plugin simply runs the browser version of draw.io, which is included right in this repository.
Basically, you’re just launching your own local copy of draw.io in the browser, and the plugin allows Obsidian to communicate with it, so you can work with diagrams directly from within Obsidian.

You don’t need to download anything else - just the plugin. It takes care of everything for you.

You can very easily install it using BRAT.

Is there any way to link an existing Draw.io mind map with Obsidian notes? Also, is it possible to link specific parts of a large diagram to different Obsidian notes — for example, one section to one note, and another section to a different note?

@jhuma

I have a working prototype of this feature — I called it “interactive diagrams.” The feature allows linking to any elements. But… to be honest, I wrote it with the help of AI, and as a developer, my conscience has been bothering me, so I just couldn’t bring myself to release it :slight_smile:

But now I’ve come to the conclusion that it’s better to release the update first and figure everything out later. After all, it’s better to release something than nothing, right?

I’m still waiting for the plugin to be added to the community plugins list. After that, I plan to release the update. However, I’m also not sure if it will work with the latest versions of Obsidian, since I don’t have a Catalyst license.

But I think I’ll finally release the update sometime soon anyway.

2025-07-31 14-40-33

1 Like