This is the source code repository for the book.
Convert the AsciiDoc to HTML5 by invoking the process-resources
goal (configured as the default goal):
$ mvn
Open the file target/generated-docs/main.html in your browser to see the generated HTML file containing the generated diagram images.
Asciidoctor Diagram bundles both the ditaa and PlantUML libraries and will use them to generate diagrams. In order to generate diagrams using Graphviz, you must install it separately. There are two options to reference the installed Graphviz’s dot tool in order to generate diagrams: system’s PATH or plug-in attributes configuration.
Visit Graphviz' site for details on how to install the dot command tool, and to make the dot command available on your system’s PATH.