jboz / plantuml-builder

Plantuml diagram from java sources
Apache License 2.0
45 stars 10 forks source link

Header not including following PlantUML requirements #5

Open RoRoche opened 4 years ago

RoRoche commented 4 years ago

When adding header such as:

String diagram = new ClassDiagramBuilder().setHeader("Test")/*add classes*/.build();

It generates the following:

@startuml

Test

which can not be interpreted properly by PlantUML.

It must follows the requirements: https://plantuml.com/fr/commons such as:

@startuml

header
Test
endheader