Plantumlbuilder

It is used to create the PlantUML diagrams with groovy language, which adds
support for programming language and reuse. It also helps to keep logical indentation
of the PlantUML structure (e.g. in the sequence diagrams).

Implementation source code is in the main/src directory.
Test source code is in the main/tests directory.
Examples are in the examples directory.
Documentation files and source code is in the documentation directory.

Use gradle to build, test and package project.
Use groovy version 2.2.0 and later (recommended is 2.4.0 and later).

See/run scripts in the examples/scripts/plantuml/ directory to generate examples from the PlantUML web page.
(NOTE: Currently only examples for the sequence diagrams).

With the plantumlbuilder any PlantUML diagram can be created/programmed with use of plant keyword.
With use of plugins (e.g. PlantUmlBuilderSeqPlugin) additional syntax (for specific diagram type) can be added.

Run groovy script as regular script (Linux) of with groovy command (Linux, Windows).

First run of the groovy scripts downloads dependencies into ~/.groovy/grapes directory (Internet connection required),
next run of the script uses already downloaded dependencies (Internet connection not required).

~/.groovy/grapes can be moved to other development machine (Internet connection not required even for first run) of the script.

Usage with groovy and command line (without dependency on external repository)

Download desired (latest) version of the nodebuilder and yangbuilder jar files from http://jcenter.bintray.com/org/bitbucket/novakmi/.
Run with groovy command with classpath pointing to the downloaded jar files
(e.g. groovy -cp ./plantuml.jar:./nodebuilder.jar:./plantumlbuilder.jar plant_script.groovy).