All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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

    
      
        
          
          
          
          
        
      
      
        
        
        
        Bob
        
        Bob
        
        Alice
        
        Alice
        
        
        hello
        
        
        hi
    
    

And generated svg file then looks like the next example

![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 - 2024 Weber Informatics LLC | Privacy Policy