"प्रयोग:Luke" के अवतरणों में अंतर
पंक्ति 9: | पंक्ति 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> |
00:47, 22 मार्च 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>