aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-11-30 14:40:27 -0400
committerJoey Hess <joey@kitenet.net>2011-11-30 15:47:12 -0400
commit44863ea2346eea32b3bc8b9b700101bf7ea3b32f (patch)
tree531b244f157343b56bf84a26d5f5d03c9eb9b62c /doc
parent9936c3ec32094baa2bbbb6cd57a2e942b6b06f3b (diff)
downloadikiwiki-44863ea2346eea32b3bc8b9b700101bf7ea3b32f.tar
ikiwiki-44863ea2346eea32b3bc8b9b700101bf7ea3b32f.tar.gz
graphviz: Support urls embedded in the graph, by having graphviz generate an imagemap.
Also, I let preview mode write real files, rather than using data: uri. Which is ok these days, since ikiwiki tracks files created during previewing, and cleans them up later.
Diffstat (limited to 'doc')
-rw-r--r--doc/ikiwiki/directive/graph.mdwn8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/ikiwiki/directive/graph.mdwn b/doc/ikiwiki/directive/graph.mdwn
index 433187268..2828921d7 100644
--- a/doc/ikiwiki/directive/graph.mdwn
+++ b/doc/ikiwiki/directive/graph.mdwn
@@ -1,14 +1,10 @@
The `graph` directive is supplied by the [[!iki plugins/graphviz desc=graphviz]] plugin.
-This directive allows embedding [graphviz](http://www.graphviz.org/) graphs in a
-page. Example usage:
+This directive allows embedding [graphviz](http://www.graphviz.org/)
+graphs in a page. Example usage:
\[[!graph src="a -> b -> c; a -> c;"]]
-Note that graphs will only show up in previews if your browser has
-[[!wikipedia data: URI]] support, or if the same graph already exists on that
-page.
-
The `graph` directive supports the following parameters:
- `src` - The graphviz source to render.