DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:drawio

This is an old revision of the document!


Draw.io plugin

Compatible with DokuWiki

2018-04-22

plugin

Last updated on
2019-10-14
Provides
Syntax, Action
Repository
Source
Conflicts with
ckgedit

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
plugin/drawio.1571076391.txt.gz · Last modified: 2019-10-14 20:06 by lejmr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki