DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:drawio

Draw.io plugin

Compatible with DokuWiki

  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" unknown

plugin

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

Similar to graphgear, jdraw

Tagged with diagram, media, uml

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 - v0.1
    • Initial release

ToDo/Wish List

  • Support for image positioning within a document
  • Integration with ACL module
  • Integration with Media plugin, so that multiple versions of a drawing can be tracked
  • Support for ODT exports
plugin/drawio.txt · Last modified: 2019-10-15 09:49 by lejmr