Skip to content

Commit

Permalink
Merge pull request #36 from jmini/patch-8
Browse files Browse the repository at this point in the history
Add a graphviz example in asciidoctor-diagram-example
  • Loading branch information
mojavelinux committed Dec 12, 2015
2 parents 0b50187 + 6e83aea commit 29a0278
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion asciidoctor-diagram-example/pom.xml
Expand Up @@ -12,7 +12,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<asciidoctor.maven.plugin.version>1.5.2.1</asciidoctor.maven.plugin.version>
<asciidoctorj.version>1.5.3.2</asciidoctorj.version>
<jruby.version>9.0.4.0</jruby.version>
<jruby.version>1.7.21</jruby.version><!-- downgrade of JRuby see: https://github.com/asciidoctor/asciidoctorj/issues/409 -->
<rubygems.asciidoctor.diagram.version>1.3.1</rubygems.asciidoctor.diagram.version>
</properties>

Expand Down
10 changes: 10 additions & 0 deletions asciidoctor-diagram-example/src/docs/asciidoc/example-manual.adoc
Expand Up @@ -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
Expand Down

0 comments on commit 29a0278

Please sign in to comment.