This unofficial extension integrates diagrams.net (formerly known as draw.io) directly into IntelliJ and other JetBrains IDEs based on it like PyCharm, RubyMine and WebStorm.
It supports diagram files with the extensions .drawio.(svg|png|xml)
and .dio.(svg|png|xml)
.
It also auto-detects editable PNGs and SVGs created with diagrams.net.
The editor uses an offline version of diagrams.net by default, therefore it works without an internet connection and content stays local in your IDE.
This plugin is still an early version and experimental. If you like, you can help to evolve it.
Releases are available on the JetBrains Marketplace. Use Install plugin from repository to install them.
For pre-releases, either
https://plugins.jetbrains.com/plugins/eap/list?pluginId=15635
as a custom plugin repository to your IDE.An architecture overview can be found at https://drawio-intellij-plugin.netlify.app/ .
For development purpose, clone the project locally and start it with the command
./gradlew runIde
This will build the plugin and start an Instance of IntelliJ with the plugin already installed. You can even start this in debug mode.