This is an old revision of the document!
Table of Contents
diagrams Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" unknown
- 2023-04-04 "Jack Jackrum" unknown
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" yes
Similar to diagramsnet, drawio
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.
Usage
This plugin lets users create and edit diagrams in DokuWiki. In provides an integration with the online diagramming tool diagrams.net, previously known as draw.io.
The diagrams are internally saved as SVG images and treated as regular media files. That means storing older versions of files and applying ACL permissions for editors.
Create a diagram
Diagrams are created in the media manager, either the fullscreen version or the media manager popup window. Just select the right namespace and click on the Create diagram
link. Next, enter the file name for the diagram in the dialog that appears. Do not use any special characters here. You will be redirected to diagrams.net where you can create your diagram. Clicking on the Save
button will take you back to your wiki.
Edit a diagram
Edit buttons are available in two places:
- in the fullscreen media manager in the
View
tab, which is displayed when an image is selected - on a wiki page with an embedded diagram (only if the user has upload permissions for the given diagram file).
Development
The source code of the plugin is available at GitHub: cosmocode/dokuwiki-plugin-diagrams.
Changes
- Merge pull request #53 from dokuwiki-translate/lang_update_777_170430… (2024-01-08 15:33)
- translation update (2024-01-03 18:50)
- Version upped (2023-12-14 23:50)
- Less restrictive check if SVG is a diagram (2023-12-14 12:48)
- Version upped (2023-12-06 23:50)
- Fix links in diagrams (again) (2023-12-06 15:11)
- Version upped (2023-11-30 23:50)
- Fix warning (2023-11-30 16:47)
Bug reports and feature requests
Please refer to the Issue Tracker for reporting issues.