Index of sample files created by GraphViz2 V 2.47.

All scripts and input files required to generate these examples are shipped with the GraphViz2 distro. Output files are shipped too.

Input file # 1 - scripts/Heawood.pl:
# Demonstrates the transitive 6-net, also known as Heawood's graph.
# Demonstrates the transitive 6-net, also known as Heawood's graph.

Output file # 1 - html/Heawood.svg
Input file # 2 - scripts/anonymous.pl:
# Demonstrates empty strings for node names and labels.
# Demonstrates empty strings for node names and labels.

Output file # 2 - html/anonymous.svg
Input file # 3 - scripts/circo.pl:
# Demonstrates calling circo instead of dot.
# Demonstrates calling circo instead of dot.

Output file # 3 - html/circo.svg
Input file # 4 - scripts/cluster.pl:
# Demonstrates a cluster - with a bug. See the TODO in the POD.
# Demonstrates a cluster - with a bug. See the TODO in the POD.

Output file # 4 - html/cluster.svg
Input file # 5 - scripts/dbi.schema.pl:
# Demonstrates graphing a database schema.
# Demonstrates graphing a database schema.

Output file # 5 - html/dbi.schema.svg
Input file # 6 - scripts/dependency.pl:
# Demonstrates graphing an Algorithm::Dependency object.
# Demonstrates graphing an Algorithm::Dependency object.

Output file # 6 - html/dependency.svg
Input file # 7 - scripts/html.labels.1.pl:
# Demonstrates a HTML label without a table.
# Demonstrates a HTML label without a table.

Output file # 7 - html/html.labels.1.svg
Input file # 8 - scripts/html.labels.2.pl:
# Demonstrates a HTML label with a table.
# Demonstrates a HTML label with a table.

Output file # 8 - html/html.labels.2.svg
Input file # 9 - scripts/html.labels.3.pl:
# Demonstrates HTML labels with newlines and double-quotes.
# Demonstrates HTML labels with newlines and double-quotes.

Output file # 9 - html/html.labels.3.svg
Input file # 10 - scripts/jointed.edges.pl:
# Demonstrates Y-shaped edges between 3 nodes.
# Demonstrates Y-shaped edges between 3 nodes.

Output file # 10 - html/jointed.edges.svg
Input file # 11 - scripts/macro.1.pl:
# Demonstrates non-cluster subgraphs via a macro.
# Demonstrates non-cluster subgraphs via a macro.

Output file # 11 - html/macro.1.svg
Input file # 12 - scripts/macro.2.pl:
# Demonstrates linked non-cluster subgraphs via a macro.
# Demonstrates linked non-cluster subgraphs via a macro.

Output file # 12 - html/macro.2.svg
Input file # 13 - scripts/macro.3.pl:
# Demonstrates cluster subgraphs via a macro.
# Demonstrates cluster subgraphs via a macro.

Output file # 13 - html/macro.3.svg
Input file # 14 - scripts/macro.4.pl:
# Demonstrates linked cluster subgraphs via a macro.
# Demonstrates linked cluster subgraphs via a macro.

Output file # 14 - html/macro.4.svg
Input file # 15 - scripts/macro.5.pl:
# Demonstrates compound cluster subgraphs via a macro.
# Demonstrates compound cluster subgraphs via a macro.

Output file # 15 - html/macro.5.svg
Input file # 16 - scripts/parse.data.pl:
# Demonstrates graphing a Perl data structure.
# Demonstrates graphing a Perl data structure.

Output file # 16 - html/parse.data.svg
Input file # 17 - scripts/parse.html.pl:
# Demonstrates using XML::Bare to parse HTML.
# Demonstrates using XML::Bare to parse HTML.

Output file # 17 - html/parse.html.svg
Input file # 18 - scripts/parse.isa.pl:
# Demonstrates graphing a Perl class hierarchy.
# Demonstrates graphing a Perl class hierarchy.

Output file # 18 - html/parse.isa.svg
Input file # 19 - scripts/parse.recdescent.pl:
# Demonstrates graphing a Parse::RecDescent-style grammar.
# Demonstrates graphing a Parse::RecDescent-style grammar.

Output file # 19 - html/parse.recdescent.svg
Input file # 20 - scripts/parse.regexp.pl:
# Demonstrates graphing a Perl regular expression.
# Demonstrates graphing a Perl regular expression.

Output file # 20 - html/parse.regexp.svg
Input file # 21 - scripts/parse.stt.pl:
# Demonstrates graphing a Set::FA::Element's state transition table.
# Demonstrates graphing a Set::FA::Element's state transition table.

Output file # 21 - html/parse.stt.svg
Input file # 22 - scripts/parse.xml.bare.pl:
# Demonstrates using XML::Bare to parse XML.
# Demonstrates using XML::Bare to parse XML.

Output file # 22 - html/parse.xml.bare.svg
Input file # 23 - scripts/parse.xml.pp.pl:
# Demonstrates using XML::Tiny to parse XML.
# Demonstrates using XML::Tiny to parse XML.

Output file # 23 - html/parse.xml.pp.svg
Input file # 24 - scripts/parse.yacc.pl:
# Demonstrates graphing a byacc-style grammar.
# Demonstrates graphing a byacc-style grammar.

Output file # 24 - html/parse.yacc.svg
Input file # 25 - scripts/parse.yapp.pl:
# Demonstrates graphing a yapp-style grammar.
# Demonstrates graphing a yapp-style grammar.

Output file # 25 - html/parse.yapp.svg
Input file # 26 - scripts/plaintext.pl:
# Demonstrates a graph with a 'plaintext' shape.
# Demonstrates a graph with a 'plaintext' shape.

Output file # 26 - html/plaintext.svg
Input file # 27 - scripts/quote.pl:
# Demonstrates (1) newlines and double-quotes in node names and labels, (2) justification - with a Graphviz bug.
# Demonstrates (1) newlines and double-quotes in node names and labels, (2) justification - with a Graphviz bug.

Output file # 27 - html/quote.svg
Input file # 28 - scripts/rank.sub.graph.1.pl:
# Demonstrates subgraphs used to rank nodes horizontally (succinct version of code).
# Demonstrates subgraphs used to rank nodes horizontally (succinct version of code).

Output file # 28 - html/rank.sub.graph.1.svg
Input file # 29 - scripts/rank.sub.graph.2.pl:
# Demonstrates subgraphs used to rank nodes horizontally (long version).
# Demonstrates subgraphs used to rank nodes horizontally (long version).

Output file # 29 - html/rank.sub.graph.2.svg
Input file # 30 - scripts/rank.sub.graph.3.pl:
# Demonstrates subgraph name effects (non-cluster version).
# Demonstrates subgraph name effects (non-cluster version).

Output file # 30 - html/rank.sub.graph.3.svg
Input file # 31 - scripts/rank.sub.graph.4.pl:
# Demonstrates subgraph name effects (cluster version).
# Demonstrates subgraph name effects (cluster version).

Output file # 31 - html/rank.sub.graph.4.svg
Input file # 32 - scripts/record.1.pl:
# Nested records using strings as labels.
# Nested records using strings as labels.

Output file # 32 - html/record.1.svg
Input file # 33 - scripts/record.2.pl:
# Nested records using an arrayref of hashrefs as labels.
# Nested records using an arrayref of hashrefs as labels.

Output file # 33 - html/record.2.svg
Input file # 34 - scripts/record.3.pl:
# Deeply nested records using strings as labels.
# Deeply nested records using strings as labels.

Output file # 34 - html/record.3.svg
Input file # 35 - scripts/record.4.pl:
# Set record-style node labels and shapes in various ways.
# Set record-style node labels and shapes in various ways.

Output file # 35 - html/record.4.svg
Input file # 36 - scripts/sub.graph.pl:
# Demonstrates a subgraph (with a frame because the subgroup is called cluster_*).
# Demonstrates a subgraph (with a frame because the subgroup is called cluster_*).

Output file # 36 - html/sub.graph.svg
Input file # 37 - scripts/sub.graph.frames.pl:
# Demonstrates clusters with and without frames.
# Demonstrates clusters with and without frames.

Output file # 37 - html/sub.graph.frames.svg
Input file # 38 - scripts/sub.sub.graph.pl:
# Demonstrates a subsubgraph.
# Demonstrates a subsubgraph.

Output file # 38 - html/sub.sub.graph.svg
Input file # 39 - scripts/trivial.pl:
# Demonstrates a trivial 3-node graph, with colors.
# Demonstrates a trivial 3-node graph, with colors.

Output file # 39 - html/trivial.svg
Input file # 40 - scripts/unnamed.sub.graph.pl:
# Demonstrates named and unnamed subgraphs.
# Demonstrates named and unnamed subgraphs.

Output file # 40 - html/unnamed.sub.graph.svg
Input file # 41 - scripts/utf8.1.pl:
# Demonstrates utf8 chars in labels.
# Demonstrates utf8 chars in labels.

Output file # 41 - html/utf8.1.svg
Input file # 42 - scripts/utf8.2.pl:
# Demonstrates utf8 chars in labels.
# Demonstrates utf8 chars in labels.

Output file # 42 - html/utf8.2.svg

Links

Index page for all graph module demos


Environment

Author
Date
2018-02-23
OS
Debian V 8.10
Perl
5.20.2