template.markdown.plantuml.plantuml-core.README.md Maven / Gradle / Ivy
# Module plantuml-core
This module contains services for generation of [plantUml](http://plantuml.com) diagrams
from plantUml notations.
For launching of the generator, the Graphviz tool should be installed,
see the [http://plantuml.com/graphviz-dot](http://plantuml.com/graphviz-dot) documentation.
Graphviz is optional if you only need sequence diagrams and activity (beta) diagrams.
## Downloading
This module can be downloaded from the
[Maven Central Repository plantuml-core](https://mvnrepository.com/artifact/com.credibledoc/plantuml-core)
## Example of usage
String svg = SvgGeneratorService.getInstance().generateSvgFromPlantUml(plantUml);
Where the _**plantUml**_ parameter can be, for example,
Bob -> Alice : hello
Alice -> Bob : hi
And the returned _**String svg**_ in this case will be
And generated svg file will looks like
![An UML diagram that describes, how the generated content looks like](doc/img/example.svg?sanitize=true)
## Parent module
See the [plantuml-parent README.md](../README.md) file.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy