plugin:sequencediagram
Table of Contents
Sequencediagram Plugin
Compatible with DokuWiki
2018 Greebo
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 callflow, flowcharts, plantuml
Description
Generates sequence diagrams on the fly. Powered by Andrew Brampton’s js-sequence-diagrams.
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Examples/Usage
<sequencediagram> Cook->Stove: Switch on Cook->Stove: Switch off Stove->Cook: Burn Note left of Cook: Aua! </sequencediagram>
Syntax
Full syntax:
<sequencediagram> document ::= statement* statement ::= ( 'title' ':' message | 'participant' actor | 'note' ('left of' | 'right of' | 'over') actor ':' message | actor ( '-' | '--' ) ( '>' | '>>' )? actor ':' message ) message ::= [^\n]+ actor ::= [^\->:\n,]+ </sequencediagram>
Configuration and Settings
You can switch to a hand-written style using the plugins settings.
Development
Change Log
- Update underscore (2021-05-07 14:19)
- Add older deleted files (2019-08-04 14:56)
- Add deleted.files (2019-08-04 13:26)
- Be more conservative (2019-08-04 11:17)
- Remove unneeded files (2019-08-04 11:04)
- Update to new js-sequencediagram (2019-08-03 10:34)
- Bump version (2016-02-04 06:41)
- Merge pull request #4 from splitbrain-forks/php7-signature (2016-02-03 18:28)
Known Bugs and Issues
Hi, it seems that JAVASCRIPT compression from dokuwiki is breaking your JS code.I de-minified the javascript, this should fix your problem.
ToDo/Wish List
What a great plugin - thanks! A request: Would it be possible to have dokuwiki style links in the messages? e.g. Me->You: [[wiki:page:link|Message is a Link]]. Thanks! Jon B
FAQ
Discussion
Is there a way to get this to work with dw2pdf?
The plugin uses javascript to generate the image on the client-side and I dont’t think dw2pdf can handle that.
But you can use plantuml instead.
Might it work taking a look at/or integrating a tool like Mscgen (http://www.mcternan.me.uk/mscgen/)?
plugin/sequencediagram.txt · Last modified: 2023-04-29 15:02 by Aleksandr