Karalli Adding Graphviz

A post on The Karalli Pages:

[WP_GraphViz title=”WP_GraphViz for Karalli” showdot=”true”]
digraph G {
size = “5,5”;
style = bold;
main [shape=box,style=bold]; /* this is a comment */
parse,cleanup,execute,init [shape=ellipse,style=bold];
main -> parse [weight=8];
parse -> execute;
main -> init [style=dashed];
main -> cleanup;
execute -> { make_string; printf}
init -> make_string;
edge [color=red]; // so is this
main -> printf [style=bold,label=”100 times”];
make_string [label=”make a\nstring”];
node [shape=box,style=filled,color=”.7 .3 1.0″];
execute -> compare;
}[/WP_GraphViz]

“Fixed” version:

[WP_GraphViz title=”WP_GraphViz for Karalli” showdot=”true”]
digraph G {
size = 5.5;
style = bold;
main [shape=box,style=bold]; /* this is a comment */
parse,cleanup,execute,init [shape=ellipse,style=bold];
main -> parse [weight=8];
parse -> execute;
main -> init [style=dashed];
main -> cleanup;
execute -> { make_string; printf}
init -> make_string;
edge [color=red];
main -> printf [style=bold,label=”100 times”];
make_string [label=”make a\nstring”];
node [shape=box,style=filled,color=”.7 .3 1.0″];
execute -> compare;
}[/WP_GraphViz]

Comments are closed.