Plugins Directory » Redmine draw.io

16639 Author: Michele Tessaro
Website: https://github.com/mikitex70/redmine_drawio
Code repository: https://github.com/mikitex70/redmine_drawio.git
Registered on: 2016-09-04 (about 1 year ago)
Current version: 0.8.0
Compatible with: Redmine 3.4.x, 3.3.x, 3.2.x, 3.1.x, 3.0.x
User ratings:   (3)

draw.io is free online diagramming tool.

This plugin will allow embedding draw.io diagrams into Redmine wiki pages and issues.

To embedd a diagram attach it to wiki page/issue, then use a macro as:

{{drawio(activity.xml)}}

Example:

.

From version 0.3.0 there are also two new macros:

  • drawio_attach, which saves diagrams as attachments of current wiki/issue page
  • drawio_dmsf, which saves diagrams as DMSF documents

These new macros are saving diagrams as images with embedded XML source, a special format supported by www.draw.io editor. This format enables the embedded editing of the diagrams: simply double click on the diagram to start editing, then save the diagram and a new version will be saved as attachment or DMSF document.

For more details see plugin page

Installation notes

Install redmine_drawio plugin:


cd $REDMINE_HOME/plugins
git clone https://github.com/mikitex70/redmine_draw.git

Restart Redmine to load the new plugin.

Changelog

0.8.0 (2017-07-16)

Compatible with Redmine 3.4.x, 3.3.x, 3.2.x, 3.1.x, 3.0.x.

New language translations and various fixes

  • Tested on Redmine 3.4.0-stable
  • Added mathemathics support in SVG
  • Added Simplified Chinese translation
  • Added russian translation
  • Fixed foreign characters in SVG diagrams
  • Fixed invalid character stripping from filenames
  • Fixed saving on DMSF 1.5.9+

0.7.1 (2017-06-12)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x.

Changes:
  • fixed diagram filename extension check
  • auto disabled SSL if the drawio app is served with HTTP protocol
  • updated documentation

0.7.0 (2017-06-11)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x.

  • added support for EasyRedmine
  • added buttons for CkEditor plugin
  • buttons on textile editor can edit macro
  • disabled DMSF support if not installed or not active
  • many fixes, see the CHANGELOG.md

0.6.0 (2017-04-11)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x.

Added embedded editor support for diagrams in SVG format.
Append and .svg extension to diagram names and you are free to use SVG diagrams.

0.5.0 (2017-01-26)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x.

  • Added configuration dialog for setting a local draw.io installation (see the README.md)
  • Added support for issue notes
  • Fixed UTF-8 encoding in init.rb
  • Fixed computation of Redmine URL if not installed in the root path of the web server

0.4.0 (2016-12-10)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x.

  • Added size option to set diagram width (in pixels)
  • Fixed errors when used outside issues and wiki pages
  • Fixed redmine path with custom routes
  • Fixed load of loading image using protocol-relative paths (eg. https)

0.3.2 (2016-11-22)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x.

  • Some fixes for running in a Windows hosted Redmine (tested with Bitnami).
  • More friendly error messages when saving with the DMSF plugin.

0.3.1 (2016-11-03)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 2.6.x.

  • Fixed saving of diagrams with the embedded editor if Redmine isn't running from the root path (for example, is running from the /redmine web folder)
  • Fixed buttons swapped in the toolbar editor

0.3.0 (2016-11-01)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 2.6.x.

Added two new macros for embedding diagrams, macros that can launch an embedded diagram editor:

  • drawio_attach, which saves diagrams as attachments of wiki/issue pages. Double click diagram images to start editing.
  • drawio_dmsf which saves diagrams as DMSF documents. Double click diagram images to start editing.
  • added buttons on toolbar editor to easy inserting diagram macros (only for those with embedded editing).

See the README.md for more details.

0.1.3 (2016-10-13)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x.

Fixed rendering of some graphs (like flowcharts).

0.1.2 (2016-09-10)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x.

0.1.1 (2016-08-02)

Compatible with Redmine 3.2.x, 3.1.x, 3.0.x, 2.6.x.

screenshot.png - Diagram example (52.1 KB) Michele Tessaro, 2016-09-04 17:20

User ratings

  by Alexandr Korovets about 1 month ago

  by Steven Wong 4 months ago

wow, amazing plugin. Thanks.

  by Anton Sergeev 7 months ago