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 GraphViz [options...]
   multiline dot script ...
?>

Plugin Arguments

imgtype Default: png
alt img alt text.
pages <! plugin-list support !> encoded as pagename = [ URL = url ]
exclude Exclude pages
help Display argument help.

Example

<?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 ];
}
?>

is rendered as

Plugin GraphViz a échoué. sh: /usr/local/bin/dot: Aucun fichier ou dossier de ce type

Author

Reini Urban

PHP Warning

lib/WikiPluginCached.php (In template 'body' < 'html'):918 Warning[512]: GraphViz error: outputfile '/tmp/GraphVizqrM2Ho.png' not created

Valid XHTML 1.0! Valid CSS!
L'exécution de la page a pris real: 0,183, user: 0,080, sys: 0,040 seconds

Fatal Error:

lib/WikiDB/backend/PearDB.php:1059 Error[256]: wikidb_backend_peardb_mysql: fatal database error



Erreur Fatale de PhpWiki

lib/WikiDB/backend/PearDB.php:1059 Error[256]: wikidb_backend_peardb_mysql: fatal database error


Fatal error: wikidb_backend_peardb_mysql: fatal database error DB Error: insufficient permissions (UPDATE session SET sess_data='wiki_user|O:9:\"_anonuser\":5:{s:7:\"_userid\";s:0:\"\";s:6:\"_level\";i:0;s:6:\"_prefs\";O:15:\"userpreferences\":1:{s:6:\"_prefs\";a:14:{s:6:\"userid\";O:15:\"_userpreference\":1:{s:13:\"default_value\";s:0:\"\";}s:6:\"passwd\";O:15:\"_userpreference\":1:{s:13:\"default_value\";s:0:\"\";}s:9:\"autologin\";O:20:\"_userpreference_bool\":1:{s:13:\"default_value\";b:0;}s:5:\"email\";O:21:\"_userpreference_email\":1:{s:13:\"default_value\";s:0:\"\";}s:11:\"notifyPages\";O:22:\"_userpreference_notify\":1:{s:13:\"default_value\";s:0:\"\";}s:5:\"theme\";O:21:\"_userpreference_theme\":1:{s:13:\"default_value\";s:7:\"smaller\";}s:4:\"lang\";O:24:\"_userpreference_language\":1:{s:13:\"default_value\";s:2:\"fr\";}s:9:\"editWidth\";O:19:\"_userpreference_int\":3:{s:13:\"default_value\";d:80;s:7:\"_minval\";d:30;s:7:\"_maxval\";d:150;}s:11:\"noLinkIcons\";O:20:\"_userpreference_bool\":1:{s:13:\"default_va in /homez.32/autonomie/www/wiki/lib/WikiDB/backend/PearDB.php on line 1059