We've installed a plug-in called plantumlparser to enable creation of diagrams and gantt charts. The plug-in uses PlantUML, and and valid PlantUML can be put inside the

<uml>.....</uml>

tags.

For more detailed use, check the offical documentation.

Diagram Example

 <uml>
 Alice -> Bob: Authentication Request
 Bob --> Alice: Authentication Response
 Alice -> Bob: Another authentication Request
 Alice <-- Bob: another authentication Response
</uml>

Becomes…

AliceAliceBobBobAuthentication RequestAuthentication ResponseAnother authentication Requestanother authentication Response

Gantt Example

To create a gantt chart, use the gantt component.

 <uml>
 @startgantt
 [Prototype design] lasts 10 days
 [Code prototype] lasts 10 days
 [Write tests] lasts 5 days
 [Code prototype] starts at [Prototype design]'s end
 [Write tests] starts at [Code prototype]'s start
 @endgantt
 </uml>

Becomes…

1234567891011121314151617181920Prototype designCode prototypeWrite tests1234567891011121314151617181920

We can make it a larger using scale

 <uml>
 @startgantt
 scale 1.5
 [Prototype design] lasts 10 days
 [Code prototype] lasts 10 days
 [Write tests] lasts 5 days
 [Code prototype] starts at [Prototype design]'s end
 [Write tests] starts at [Code prototype]'s start
 @endgantt
 </uml>

====

1234567891011121314151617181920Prototype designCode prototypeWrite tests1234567891011121314151617181920

facilities/slq_wiki/wiki_style_guide/drawing_diagrams.txt · Last modified: 2019/02/19 16:03 by Andrei Maberley
CC Attribution-Share Alike 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International

We acknowledge Aboriginal and Torres Strait Islander peoples and their continuing connection to land and as custodians of stories for millennia. We are inspired by this tradition in our work to share and preserve Queensland's memory for future generations.