In the meantime, a lot has happened and the release of Playfair 1.0.0 was forgotten. We would like to make up for this omission and briefly present the highlight of the release.
Until now, Playfair was limited to providing diagrams within Asciidoctor. The engine has now broken out of this cage and also supports Maven as a plugin.
The application is quite simple, as you can see in the following example. Simply specify the diagram description and diagram type, and the desired diagram will be saved as an SVG file.
<plugin>
<groupId>de.schegge</groupId>
<artifactId>playfair-maven-plugin</artifactId>
<version>1.0.0</version>
<configuration>
<chart>
title: Template-Engine Benchmarks
title.font: Roboto bold 28
label.font: Roboto plain 14
data: 31036, 49617, 41578, 30273, 36236, 6066, 49790, 51422
index.labels: Freemarker, FreshMarker, Mustache, Handlebars, Velocity, Thymeleaf, Pebble, Trimou
background: WhiteSmoke
sorted: on
colors: Gray, Gold, Gray, Gray, Gray, Gray, Gray, Gray
opacity: 240 220
</chart>
<target>performance.svg</target>
<type>barchart</type>
</configuration>
<executions>
<execution>
<goals><goal>create-chart</goal></goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>
Enjoy the new version of Playfair.