DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:sequencediagram

Sequencediagram Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" yes
  • 2014-09-29 "Hrun" yes

plugin Generate sequence-diagrams

Last updated on
2016-02-04
Provides
Syntax
Repository
Source

Similar to plantuml

Tagged with diagram, sequence, syntax

By K.-M. Hansche

Description

Generates sequence diagrams on the fly. Powered by Andrew Brampton’s js-sequence-diagrams.

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

<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

Configure the sequence diagram.

Development

Change Log

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.
plugin/sequencediagram.txt · Last modified: 2016-02-04 06:43 by 212.202.110.66