/diagrams.net-intellij-plugin

An IntelliJ plugin which allows you to edit diagrams.net (formerly known as draw.io) diagrams directly in IntelliJ!

Primary LanguageKotlinApache License 2.0Apache-2.0

Diagrams.net Integration for IntelliJ

Build Status (GitHub Workflow Build) JetBrains Plugins Downloads

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.

About

This plugin is still an early version and experimental. If you like, you can help to evolve it.

screenshot

Installation

Releases are available on the JetBrains Marketplace. Use Install plugin from repository to install them.

For pre-releases, either

References

Authors

Docs

An architecture overview can be found at https://drawio-intellij-plugin.netlify.app/ .

FAQ

How do I build and run this project?

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.