]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/ikiwiki/directive/graph.mdwn
(no commit message)
[git.ikiwiki.info.git] / doc / ikiwiki / directive / graph.mdwn
index 6584a2178fe82a90cf1eb1df97ef59a46ce231ac..1463420d7cb62c4bc83e8286edc565ec6145c97c 100644 (file)
@@ -9,18 +9,19 @@ Nodes on the graph can link to external urls using regular graphviz syntax,
 and a clickable imagemap will be created. As a special extension for
 ikiwiki, [[WikiLinks|ikiwiki/wikilink]] can also be used. For example:
 
 and a clickable imagemap will be created. As a special extension for
 ikiwiki, [[WikiLinks|ikiwiki/wikilink]] can also be used. For example:
 
-       \[[!graph src=""""
+       \[[!graph src="""
        google [ href="http://google.com/" ]
        google [ href="http://google.com/" ]
-       sandbox [ href=[[SandBox]] ]
-       help [ href=[[ikiwiki/formatting]] ]
-       newpage [ href=[[NewPage]] ]
+       sandbox [ href=\[[SandBox]] ]
+       help [ href=\[[ikiwiki/formatting]] ]
+       newpage [ href=\[[NewPage]] ]
        
        google -> sandbox -> help -> newpage -> help -> google;
        
        google -> sandbox -> help -> newpage -> help -> google;
-       """"]]
+       """]]
 
 The `graph` directive supports the following parameters:
 
 - `src` - The graphviz source to render.
 
 The `graph` directive supports the following parameters:
 
 - `src` - The graphviz source to render.
+* `file` - A file in the wiki containing the graphviz source.
 - `type` - The type of graph to render: `graph` or `digraph`.  Defaults to
   `digraph`.
 - `prog` - The graphviz program to render with: `dot`, `neato`, `fdp`, `twopi`,
 - `type` - The type of graph to render: `graph` or `digraph`.  Defaults to
   `digraph`.
 - `prog` - The graphviz program to render with: `dot`, `neato`, `fdp`, `twopi`,