-
Notifications
You must be signed in to change notification settings - Fork 18
WikiExperiments
hlindberg edited this page May 11, 2011
·
7 revisions
reStructure test - wonder if graphs are supported in the github implementation?
.. graph::
digraph foo {
rankdir=LR;
size="2.5,2.5"
node [shape = circle];
A [fillcolor = cornflowerblue];
B [fillcolor = red];
C [fillcolor = gold];
A -> C [ label = "A-C" color = cornflowerblue];
A -> B [ label = "A-B" color = red];
A -> A [ label = "WTF?"];
C -> B;
}
.. graph::
node.hdr { color: red; }
node.src { fill: lightgreen; }
node.stage { fill: lightblue; }
(Libraries: [Library 1]{ shape: diamond;},
[Library 2]{ shape: diamond;},
[Library 3]{ shape: diamond;})
[Header 1]{class: hdr;},
[Header 2]{class: hdr;},
[Header N]{class: hdr;}-> [Preprocessor]{shape:circle; class:stage;} -> [Intermediate 2],
[Intermediate 1] ->[Compiler]
[Source 1]{class: src;}, [Source 2]{class: src;}-> [Preprocessor]
[ Compiler ]{shape:circle; class:stage;} -> [ Object 2], [ Object 1] -> [ Linker ]
[Library 1], [Library 2], [Library 3] -> [Linker]{shape:circle; class:stage;}
[Linker] -> [Binary2]
See any graphs? No? then it is not supported...