Requires a working mermaid setup for just-the-docs.
Place the file below in the _plugins
folder of your site. Now in your AsciiDoc files, you can do
[mermaid]
....
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
....
Stolen and minimally edited from GitLab, under MIT
Conflicts with AsciiDoctor Diagram, which renders during site generation.