Date: Thu, 11 Jan 2007 22:55:55 +0100
Mime-Version: 1.0 (Produced by PhpWiki 1.3.13)
X-Rcs-Id: $Id: Help%2FGraphVizPlugin,v 1.3 2007-01-11 21:22:11 rurban Exp $
Content-Type: application/x-phpwiki;
pagename=Help%2FGraphVizPlugin;
pgsrc_version="2 $Revision: 1.3 $";
flags="";
markup=2;
charset=iso-8859-1
Content-Transfer-Encoding: binary
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
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.
! Usage
! Plugin Arguments
=imgtype= |
Default: png
=alt= |
img alt text.
=pages= |
encoded as pagename = ~[ URL = url ~]
=exclude= |
Exclude pages
=help= |
Display argument help.
! Example
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 ];
}
?>
is rendered as
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
Reini Urban