Beispiel

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

wird angezeigt als

Plugin GraphViz failed. sh: /usr/bin/dot: No such file or directory

PhpWikiDokumentation Hilfe:WikiPlugin

PHP Warning

Warning: "GraphViz error: outputfile '/data/home/joakim/public_html/wiki-cache/GraphVizt79O2z.png' not created"

  • cmd-line: /usr/bin/dot -Tpng -o /data/home/joakim/public_html/wiki-cache/GraphVizt79O2z.png