From 6e83aeab070040b120ab54d0095fb297d0405821 Mon Sep 17 00:00:00 2001 From: Jeremie Bresson Date: Sat, 12 Dec 2015 08:30:25 +0100 Subject: [PATCH] Add a graphviz example in asciidoctor-diagram-example --- asciidoctor-diagram-example/pom.xml | 2 +- .../src/docs/asciidoc/example-manual.adoc | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/asciidoctor-diagram-example/pom.xml b/asciidoctor-diagram-example/pom.xml index 146df8b7..31f67f4a 100644 --- a/asciidoctor-diagram-example/pom.xml +++ b/asciidoctor-diagram-example/pom.xml @@ -12,7 +12,7 @@ UTF-8 1.5.2.1 1.5.3.2 - 9.0.4.0 + 1.7.21 1.3.1 diff --git a/asciidoctor-diagram-example/src/docs/asciidoc/example-manual.adoc b/asciidoctor-diagram-example/src/docs/asciidoc/example-manual.adoc index a5f4b1db..7624a980 100644 --- a/asciidoctor-diagram-example/src/docs/asciidoc/example-manual.adoc +++ b/asciidoctor-diagram-example/src/docs/asciidoc/example-manual.adoc @@ -42,6 +42,16 @@ Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response .... +[graphviz, dot-example, svg] +---- +digraph g { + a -> b + b -> c + c -> d + d -> a +} +---- + == Attributes .Built-in