Diagrams.net

approved

by Jens M Gleditsch

Enable diagrams.net (previously draw.io) type diagrams, with the diagrams.net embedded editor.

120 stars42,026 downloadsUpdated 3y agoMIT
View on GitHub

Warning I'm sad to say I can't find the time to maintain this plug-in. As such, issues will not be read. I may merge pull requests from time to time. If you think you can maintain this plugin please contact me.

Obsidian Diagrams.Net

GitHub release (latest SemVer)

A plugin for Obsidian for inserting and editing diagrams.net (previously draw.io) diagrams. It differs from the drawio-obsidian plugin in that it embeds the diagrams.net online editor, which requires an active internet connection, but enables the full feature set and all the shape libraries.

2022-06-23-obsidian-diagrams-net

⚠️ Caveats

As Obsidian itself has an API that is under development, so is this plugin. There are some things you should be aware of if you are using it:

  • Diagrams are saved as a separate file – MyDiagram.svg.xml, alongside their image representation – MyDiagram.svg. (The .xml-file can be opened directly in any diagrams.net-editor.)
  • Moving and renaming a diagram inside Obsidian will do so for both the diagram file and the image file. However, since there is no "copy" event to listen to in the Obsidian API, copying a diagram means the new diagram will not have a diagram file associated with it, and as such, cannot be opened in the editor.
  • The workaround, if you need to copy a diagram, is to manually duplicate and rename both the image and diagram file.

🐛 Known issues

  • Editing a diagram will not update the image in the active editor, you need to force a reload or navigate away and back to see the updates.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.