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
2020-08-07
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

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

15 last commits

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

plugin/drawio.1596826314.txt.gz · Last modified: 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