This is an old revision of the document!
Table of Contents
Draw.io plugin
Compatible with DokuWiki
2018-04-22
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to bpmnioeditor, diagrams, diagramsnet, graphgear, jdraw
This plugin brings Draw.io embedded interface directly into DokuWiki, so one can draw images directly from web interface while writing a text. The code maturity is: alpha
Installation
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Examples/Usage
In order to embed an image into document, insert following snipped supporting namespaces.
{{drawio>namespace:image-name}}
Right after inserting such a code into text, save the page. Then an default image is depicted into the page, so feel free and click onto the image in order to open Draw.io integration editor. Using the Draw.io editor create the image and click save button. Image is rendered as mediacenter class, so as a block with text align set to center.
Syntax
Basic syntax:
{{drawio>[namespace:]image-name}}
- namespace path where the diagram is saved within media directory
- image-name — image name used when saved into media directory/namespace in PNG format
Change Log
- 2020-04-20 - v0.2.7
- Several CSS fixes
- 2020-03-17 - v0.2.6
- 2020-03-02 - v0.2.5
- 2020-02-16 - v0.2.4
- 2020-01-26 - v0.2.3
- Adds ACL, so images can not be modified by non-priviledged users
- Adds history of drawings visible through Media Manager
- 2020-01-04 - v0.2.2
- Adds placeholder for empty images
- 2019-12-30 - v0.2.1
- Several bug fixes
- 2019-10-14 - v0.1
- Initial release
15 last commits
- Merge pull request #55 from saerdnaer/patch-1 (2023-01-15 21:59)
- fix to generic name vor editor url variable (2022-12-14 00:04)
- SVG release related (2021-02-21 10:45)
- Fix of local development environment (2021-02-21 10:29)
- Fix issue when whitespace is add in configuration (2020-11-19 23:08)
- update functionality (2020-11-18 18:40)
- add possibility to use svg image (2020-11-10 11:39)
- Merge pull request #1 from lejmr/master (2020-11-10 11:28)
- Update default.php (2020-09-22 17:06)
- Update to latest version of container (2020-09-20 12:57)
- Release (2020-08-07 20:50)
- test (2020-08-07 20:49)
- Merge pull request #29 from DonCarlosGraz/patch-customurl (2020-08-07 20:48)
- german translation (2020-06-17 21:03)
- new feature: custom draw.io url (2020-06-17 21:01)
ToDo/Wish List
- Support for image positioning within a document
- Support for ODT exports
- I will be VERY happy for every pull request
Known issues