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