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
- 2019-10-14
- Initial release
Known Bugs and Issues
[this section might not be needed in case of external bug manager, or use RSS feed]
ToDo/Wish List
- An WYSIWYG action button inserting Draw.io snipped with namespace inherited from page location
- Ensure Draw.io diagrams can not be modified to anonymous users
- Integration with ACL module