]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FGraphVizPlugin
Update PHP Doc
[SourceForge/phpwiki.git] / pgsrc / Help%2FGraphVizPlugin
1 Date: Fri,  7 Dec 2012 14:58:45 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FGraphVizPlugin;
5   flags=PAGE_LOCKED;
6   charset=UTF-8
7 Content-Transfer-Encoding: binary
8
9 The **~GraphViz** [[Help:WikiPlugin|plugin]] passes all its arguments to the grapviz ##dot##
10 binary and displays the result as cached image (PNG, GIF, SVG) or
11 imagemap.  See [[http://www.graphviz.org/Documentation.php]],
12 esp. [[http://www.graphviz.org/doc/info/lang.html]] for the ##dot## language
13 specs.
14
15 == Notes ==
16 * We support all image types supported by GD so far, PNG most likely.
17 * On imgtype = imap, cpamx, ismap, cmap an additional mapfile will be produced.
18
19 == Usage ==
20
21 {{{
22 <<GraphViz [options...]
23    multiline dot script ...
24 >>
25 }}}
26
27 == Arguments ==
28
29 {| class="bordered"
30 |-
31 ! Argument
32 ! Description
33 ! Default value
34 |-
35 | **imgtype**
36 | Image type
37 | png
38 |-
39 | **alt**
40 | Image alternate text
41 |
42 |-
43 | **pages**
44 | <! plugin-list support !> encoded as pagename = ~[ URL = url ~]
45 |
46 |-
47 | **exclude**
48 | Exclude pages
49 |
50 |-
51 | **help**
52 | Display argument help
53 |
54 |}
55
56 == Example ==
57
58 {{{
59 <<GraphViz
60 digraph automata_0 {
61         size ="8.5, 11";
62         node  [ shape  = circle];
63         0 [ style = filled, color=lightgrey ];
64         2 [ shape = doublecircle ];
65         0 -> 2 [ label = "a " ];
66         0 -> 1 [ label = "other " ];
67         1 -> 2 [ label = "a " ];
68         1 -> 1 [ label = "other " ];
69         2 -> 2 [ label = "a " ];
70         2 -> 1 [ label = "other " ];
71         "Machine: a" [ shape = plaintext ];
72 }
73 >>
74 }}}
75
76 == Author ==
77 * [[Help:Reini Urban|Reini Urban]]
78
79 == See Also ==
80 * [[Help:VisualWikiPlugin|VisualWiki]] plugin, which depends on ~GraphViz and ~WikiPluginCached.
81
82 <noinclude>
83 ----
84 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
85 </noinclude>