|
|
(6 intermediate revisions not shown) |
Line 1: |
Line 1: |
- | Graphviz Tests | + | Graphviz Tests |
| | | |
| <graphviz> | | <graphviz> |
- | digraph G { | + | digraph G { |
- | size ="20,20";
| + | bgcolor="transparent" |
- | "Executive Board" [shape=box]; /* this is a comment */ | + | format="svg" |
- | "Executive Board" -> parse [weight=8]; | + | node [style=filled, color=black, fillcolor=white shape=record]; |
- | parse -> execute;
| + | "Executive Board \r" [style=filled, color=black, fillcolor=red]; |
- | "Executive Board" -> init [style=dotted]; | + | "Director, Operations \r" [style=filled, color=black, fillcolor=grey]; |
- | "Executive Board" -> cleanup; | + | "Executive Board \r" -> "Director, Operations \r" |
- | execute -> { make_string; printf}
| + | "Director, Support \r" [style=filled, color=black, fillcolor=grey]; |
- | init -> make_string;
| + | "Executive Board \r" -> "Director, Support \r" |
- | edge [color=red]; // so is this
| + | "Director, Operations \r" -> "Development" |
- | "Executive Board" -> printf [style=bold,label="100 times"]; | + | "Director, Operations \r" -> "Server Mgmt" |
- | make_string [label="make a\nstring"];
| + | "Director, Support \r" -> "Abuse" |
- | node [shape=box,style=filled,color=".7 .3 1.0"];
| + | "Director, Support \r" -> "#Support" |
- | execute -> compare;
| + | "Director, Support \r" -> "Training \r" |
| } | | } |
- | </graphviz>
| |
- |
| |
- |
| |
- |
| |
- |
| |
- | <graphviz caption='Hello SVG and PNG' alt='phylogenetic tree' format='svg+png'>
| |
- | digraph G {
| |
- | node [shape=plaintext];
| |
- | Mollusca [URL="Mollusca"];
| |
- | Neomeniomorpha [URL="Neomeniomorpha"];
| |
- | X1 [shape=point,label=""];
| |
- | Caudofoveata [URL="Caudofoveata"];
| |
- | Testaria [URL="Testaria"];
| |
- | Polyplacophora [URL="Polyplacophora"];
| |
- | Conchifera [URL="Conchifera"];
| |
- | Tryblidiida [URL="Tryblidiida"];
| |
- | Ganglioneura [URL="Ganglioneura"];
| |
- | Bivalvia [URL="Bivalvia"];
| |
- | X2 [shape=point,label=""];
| |
- | X3 [shape=point,label=""];
| |
- | Scaphopoda [URL="Scaphopoda"];
| |
- | Cephalopoda [URL="Cephalopoda"];
| |
- | Gastropoda [URL="Gastropoda"];
| |
- | Mollusca->X1->Testaria->Conchifera->Ganglioneura->X2->Gastropoda
| |
- | Mollusca->Neomeniomorpha
| |
- | X1->Caudofoveata
| |
- | Testaria->Polyplacophora
| |
- | Conchifera->Tryblidiida
| |
- | Ganglioneura ->Bivalvia
| |
- | X2->X3->Cephalopoda
| |
- | X3->Scaphopoda
| |
- | }
| |
- | </graphviz>
| |
- |
| |
- |
| |
- | <graphviz border='frame' format='svg'>
| |
- | digraph G {Hello->World!}
| |
| </graphviz> | | </graphviz> |