प्रयोग:Luke: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
Nix [shape=none, fontcolor=red]; | Nix [shape=none, fontcolor=red]; | ||
Dreieck -> Ei -> Kasten -> Haus -> Nix [color=blue style=bold]; | Dreieck -> Ei -> Kasten -> Haus -> Nix [color=blue style=bold]; | ||
} | |||
</graphviz> | |||
<graphviz> | |||
digraph G { | |||
size ="18,16"; | |||
main [shape=box]; /* this is a comment */ | |||
main -> parse [weight=8]; | |||
parse -> execute; | |||
main -> init [style=dotted]; | |||
main -> cleanup; | |||
execute -> { make_string; printf} | |||
init -> make_string; | |||
edge [color=blue]; // die folgenden Pfeile in blau | |||
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; | |||
} | } | ||
</graphviz> | </graphviz> |
Revision as of 00:47, 22 March 2010
<graphviz> digraph G { bgcolor="transparent"; rankdir=LR; Dreieck [shape=triangle, style=filled, color=blue, fontcolor=white]; Ei [shape=egg, style=filled, color=beige]; Kasten [shape=box, style=filled, color=yellow, fillcolor=green]; Haus [shape=house style=filled, color=gray, fillcolor=red]; Nix [shape=none, fontcolor=red]; Dreieck -> Ei -> Kasten -> Haus -> Nix [color=blue style=bold]; } </graphviz>
<graphviz>
digraph G {
size ="18,16";
main [shape=box]; /* this is a comment */
main -> parse [weight=8];
parse -> execute;
main -> init [style=dotted];
main -> cleanup;
execute -> { make_string; printf}
init -> make_string;
edge [color=blue]; // die folgenden Pfeile in blau
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;
}
</graphviz>