Graphviz
From QED
Graphviz is a graphical package available as a QED extension. The generated graphs can contain "hot spots" defined by URL tags, as illustrated in the first example.
Examples
The first graph, which has "hot spots" defined as hyperlinks, was produced by the markup shown immediately below it.
<graphviz>
digraph G {
C [URL="http://en.wikipedia.org/wiki/C programming language"];
Java [URL="http://en.wikipedia.org/wiki/Java programming language"];
C -> Java
}
</graphviz>
To create a hyperlink to a QED page named Xyzzy, one could simply write URL="Xyzzy".
Links can be automatically generated for all the nodes in a graph as illustrated in the following example.
<graphviz>
digraph G {
node [URL="http://en.wikipedia.org/wiki/\N"];
X -> Y
}
</graphviz>
The following example comes from [1], which has a Creative Commons "Attribution-ShareAlike" statement of availability.
<graphviz>
digraph G {
size ="4,4";
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=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;
}
</graphviz>
Documentation
Documentation is available at http://www.graphviz.org/Documentation.php Note that this installation of Graphviz uses the DOT language and the dot program.












