PDF from your own layout
The engine and its PDF backend.
Maven
<dependency>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose</artifactId>
<version>2.4.1</version>
</dependency>
Gradle (Groovy DSL)
implementation 'io.github.demchaav:graph-compose:2.4.1'
Ready-made templates
One coordinate for the engine and its PDF backend, the CV, cover letter, invoice, proposal, receipt and rota templates, the bundled fonts many of them are drawn in, and colour emoji, at versions that work together.
Maven
<dependency>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose-bundle</artifactId>
<version>2.4.1</version>
</dependency>
Gradle (Groovy DSL)
implementation 'io.github.demchaav:graph-compose-bundle:2.4.1'
An editable PowerPoint deck Beta
Add it beside graph-compose or the bundle: the layout of the PDF, as shapes on slides.
Maven
<dependency>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose-render-pptx</artifactId>
<version>2.4.1</version>
</dependency>
Gradle (Groovy DSL)
implementation 'io.github.demchaav:graph-compose-render-pptx:2.4.1'
A Word document
Add it beside graph-compose or the bundle: a semantic export, laid out by Word itself.
Maven
<dependency>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose-render-docx</artifactId>
<version>2.4.1</version>
</dependency>
Gradle (Groovy DSL)
implementation 'io.github.demchaav:graph-compose-render-docx:2.4.1'
30-second hello world
try (var doc = GraphCompose
.document(out).create()) {
doc.pageFlow()
.addParagraph("Hello, GraphCompose")
.addList(l -> l.items(
"PDF", "DOCX", "Tables"))
.build();
doc.buildPdf();
}