Diff: Help/GraphVizPlugin
Differences between current version and previous revision of Help/GraphVizPlugin.
Other diffs: Previous Major Revision, Previous Author
Newer page: | version 6 | Last edited on 17 January 2022 3:00 | by harold | |
Older page: | version 5 | Last edited on 9 September 2007 0:16 | by harold | Revert |
@@ -1,71 +1,77 @@
-The ~GraphViz plugin passes all its arguments to the grapviz =
dot=
-binary and displays the result as cached image (PNG,GIF,SVG) or
-imagemap. See http://www.graphviz.org/Documentation.php,
-esp. http://www.graphviz.org/doc/info/lang.html for the *
dot*
language
+The **
~GraphViz** [[Help:WikiPlugin|
plugin]]
passes all its arguments to the graphviz ##
dot##
+binary and displays the result as cached image (PNG, GIF, SVG) or
+imagemap. See [[
http://www.graphviz.org/Documentation.php]]
,
+esp. [[
http://www.graphviz.org/doc/info/lang.html]]
for the ##
dot##
language
specs.
-Note:
- -
We support all image types supported by GD so far, PNG most likely.
- -
On imgtype = imap, cpamx, ismap, cmap an additional mapfile will be produced.
+== Notes ==
+*
We support all image types supported by GD so far, PNG most likely.
+*
On imgtype = imap, cpamx, ismap, cmap an additional mapfile will be produced.
-!
Usage
-<verbatim>
-<?plugin
GraphViz [options...]
+==
Usage ==
+
+{{{
+<
<GraphViz [options...]
multiline dot script ...
-?
>
-</verbatim
>
+>>
+}}}
-! Plugin
Arguments
+==
Arguments ==
-=imgtype=
|
-
Default:
png
-=alt=
|
- img
alt text.
-=pages=
|
-
<! plugin-list support !> encoded as pagename = ~[ URL = url ~]
-=exclude=
|
- Exclude
pages
-=help=
|
-
Display argument help.
+{| class
="bordered"
+
|-
+! Argument
+! Description
+!
Default value
+|-
+| **imgtype**
+| Image type
+|
png
+|-
+| **
alt**
+| Image alternate
text
+|
+|-
+| **pages**
+|
<! plugin-list support !> encoded as pagename = ~[ URL = url ~]
+|
+|-
+| **exclude**
+| Comma-separated list of
pages to exclude
+|
+|-
+| **help**
+|
Display argument help
+|
+|}
-!
Example
+==
Example ==
-<verbatim>
-<?plugin
GraphViz
+{{{
+<<
GraphViz
digraph automata_0 {
-
size ="8.5, 11";
- node [ shape = circle];
- 0 [ style = filled, color=lightgrey ];
- 2 [ shape = doublecircle ];
- 0 -> 2 [ label = "a " ];
- 0 -> 1 [ label = "other " ];
- 1 -> 2 [ label = "a " ];
- 1 -> 1 [ label = "other " ];
- 2 -> 2 [ label = "a " ];
- 2 -> 1 [ label = "other " ];
- "Machine: a" [ shape = plaintext ];
+
size ="8.5, 11";
+
node [ shape = circle];
+
0 [ style = filled, color=lightgrey ];
+
2 [ shape = doublecircle ];
+
0 -> 2 [ label = "a " ];
+
0 -> 1 [ label = "other " ];
+
1 -> 2 [ label = "a " ];
+
1 -> 1 [ label = "other " ];
+
2 -> 2 [ label = "a " ];
+
2 -> 1 [ label = "other " ];
+
"Machine: a" [ shape = plaintext ];
}
-?
>
-</verbatim
>
+>>
+}}}
-is rendered as
-
-<?plugin GraphViz
-digraph automata_0 {
- size
="8.5, 11";
- node [shape
= circle];
- 0 [ style
= filled, color
=lightgrey ];
- 2
[ shape = doublecircle ];
- 0 -> 2
[ label = "a "
];
- 0 -> 1 [ label = "other "
];
- 1 -> 2 [ label = "a " ];
- 1 -> 1 [ label = "other " ];
- 2 -> 2 [ label = "a " ];
- 2 -> 1 [ label = "other " ];
- "Machine: a" [ shape = plaintext ];
-}
-?>
+== Author
==
+*
[[Help:Reini Urban|Reini Urban
]]
+== See Also ==
+* [[Help:VisualWikiPlugin|VisualWiki]] plugin, which depends on ~GraphViz and ~WikiPluginCached.
-! Author
- Reini Urban
+<noinclude>
+----
+[[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
+</noinclude>
current version
The GraphViz plugin passes all its arguments to the graphviz dot
binary and displays the result as cached image (PNG, GIF, SVG) or
imagemap. See
http://www.graphviz.org/Documentation.php,
esp.
http://www.graphviz.org/doc/info/lang.html for the dot language
specs.
Notes
- We support all image types supported by GD so far, PNG most likely.
- On imgtype = imap, cpamx, ismap, cmap an additional mapfile will be produced.
Usage
<<GraphViz [options...] multiline dot script ... >>
Arguments
Argument |
Description |
Default value |
---|---|---|
imgtype |
Image type |
png |
alt |
Image alternate text |
|
pages |
<! plugin-list support !> encoded as pagename = [ URL = url ] |
|
exclude |
Comma-separated list of pages to exclude |
|
help |
Display argument help |
Example
<<GraphViz digraph automata_0 { size ="8.5, 11"; node [ shape = circle]; 0 [ style = filled, color=lightgrey ]; 2 [ shape = doublecircle ]; 0 -> 2 [ label = "a " ]; 0 -> 1 [ label = "other " ]; 1 -> 2 [ label = "a " ]; 1 -> 1 [ label = "other " ]; 2 -> 2 [ label = "a " ]; 2 -> 1 [ label = "other " ]; "Machine: a" [ shape = plaintext ]; } >>
Author
See Also
VisualWiki plugin, which depends on GraphViz and WikiPluginCached.