This is an old revision of the document!
Table of Contents
flowchartjs 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 diagram, ditaa, flowcharts, graphviz
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
st⇒start: Start op1⇒operation: Check if argc != 2 cond1⇒condition: true or false? op2⇒operation: Create server socket op3⇒operation: Bind server socket to port op4⇒operation: Receive data from client op5⇒operation: Calculate sum of natural numbers op6⇒operation: Send result back to client e⇒end: End
st→op1→cond1 cond1(yes)→op2→op3→op4→op5→op6→e cond1(no)→op4→op5→op6→e
Syntax
Basic syntax:
<flowchartjs style width height>...</flowchart>
- style flowchart display style. Currently it can be one of this:
- (blank) — no style
default
— default style- or other available style (see below)
- width and height CSS-style values to control the width/height of this SVG. blank leaves its default.
- ... flowchart definition, which should follow grammar in flowchart.js.
Configuration and Settings
Through Amin Plugin (though ugly), managers can upload a new or update existing flowchart style (JSON file, must with .json extension, and the filename will be the style name), and delete any styles.
Toolbar FC inserts pair of flowchartjs tag, while Fcs toggles list of available style.
Change Log
- 2021-01-15
- fix the bug not loading style correctly
- 2020-10-10
- update Rapheal library to 2.3.0 and flowchart to 1.14.1
- 2019-11-28
- solving issue about style not correctly loading (by chaotic-bruno)
- 2019-06-19
- add extra parameters to control svg `width` and `height`
- 2019-05-02
- fix warning messages and update libraries
- 2018-07-03
- fix compatibility warnings
- 2018-06-03
- Merge pull request from apppies/library_update
- update flowchart to 1.11.0
- update Raphael to 2.2.1
- 2018-01-13
- many updates:
- fix bug from leading space by updating flowchart.js library,
- add admin plugin which allows management flowchart styles,
- add toolbar facilitating selection of flowchart style.
- 2017-02-16
- Initial release