wiki:syntax:graphiz

Add a Graph (Graphviz Plugin)

You can also add a Graph in Dot-Syntax to your Content.

Read more about graphviz at http://www.graphviz.org/Documentation.php.

Simply typ the Dot Code in your wiki page, like :

<graphviz neato>
digraph DokuWikiParser {
        node [style=rounded, fontname=Arial, fontsize=13];
        edge [fontname=Arial, fontsize=11];
        P [label=Parser,         shape=box, pin=true, pos="1,3.5"];
        H [label=Handler,        shape=box, pin=true, pos="3,2"];
        CC [label="Client Code", shape=box, pin=true, pos="3,3.5"];
        L [label=Lexer,          shape=box, pin=true, pos="1,2"];
        M [label=Modes,          shape=box, pin=true, pos="1,1"];
        CC -> P [label="Input String"];
        H -> CC [label="Render\nInstructions"];
        P -> L  [label="Modes\n+\nInput String"];  
        L -> H  [label=Tokens];
        L -> M  [arrowhead=none];  
}
</graphviz>

The generated graph looks like this (isn’t it cool):

Graph



Back to the help page

 
wiki/syntax/graphiz.txt · Last modified: 2006/04/03 19:56 by 84.184.159.129