Index of sample files created by GraphViz2::Marpa V 2.01.

All scripts, input files and output files required to generate these examples are shipped in the GraphViz2::Marpa distro.

Some sample data is deliberately faulty, and so does not produce an image, or produces a faulty one (e.g. data/42.*.gv)

Warning: This is the standard tests page. The author tests page is at least 20 times the size

#Result of GraphViz2::Marpa processing *.gvResult of dot processing the same file
1 Input file: data/01.gv (1 byte):
Dot result: Error.
2 Input file: data/02.gv (7 bytes):
strict
Dot result: Error.
3 Input file: data/03.gv (8 bytes):
digraph
Dot result: Error.
4 Input file: data/04.gv (6 bytes):
graph
Dot result: Error.
5 Input file: data/05.gv (15 bytes):
strict digraph
Dot result: Error.
6 Input file: data/06.gv (3 bytes):
{}
Dot result: Error.
7 Input file: data/07.gv (11 bytes):
strict
{
}
Dot result: Error.
8 Input file: data/08.gv (10 bytes):
graph
{
}

Output file 8: html/08.svg (566 bytes)
9 Input file: data/09.01.gv (31 bytes):
STRICT digraph graph_09_01
{
}

Output file 9: html/09.01.svg (584 bytes)
10 Input file: data/09.02.gv (29 bytes):
STRICT graph graph_09_02
{
}

Output file 10: html/09.02.svg (584 bytes)
11 Input file: data/10.01.gv (196 bytes):
strict digraph graph_10_01
{
node_10_01_1 [fillcolor = red, style = filled]
node_10_01_2 [fillcolor = green, style = filled]

node_10_01_1 -> node_10_01_2 [arrowtail = dot, arrowhead = odot]
}

Output file 11: html/10.01.svg (1473 bytes)
12 Input file: data/10.02.gv (79 bytes):
strict digraph graph_10_02
{
node_10_02_1 [fillcolor = red, style = filled]
}

Output file 12: html/10.02.svg (880 bytes)
13 Input file: data/11.gv (110 bytes):
/* C comment. */

// C++ comment.

# Hash comment.

strict graph graph_11
{
rankdir = LR;
ranksep = "0.2"
}

Output file 13: html/11.svg (578 bytes)
14 Input file: data/12.gv (131 bytes):
# Prefix comment.

graph graph_12
{
size = "6,7"

node_12_1 [shape = square, color = red; fillcolor = blue]
}

# Suffix comment.

Output file 14: html/12.svg (846 bytes)
15 Input file: data/13.gv (19 bytes):
strict digraph
{
}

Output file 15: html/13.svg (566 bytes)
16 Input file: data/14.gv (103 bytes):
digraph graph_14
{
rankdir = TB

node_14_1 [label = <<table><tr><td>HTML table</td></tr></table>>]
}

Output file 16: html/14.svg (1153 bytes)
17 Input file: data/15.gv (530 bytes):
digraph graph_15
{
edge
[
"color" = "green",
];

node_15_1 [fillcolor = red shape = square,];
node_15_2 ["size" = "5,8"]
node_15_3 [height = "2"];
node_15_4 [label = <<table><tr><td>HTML table</td></tr></table>>]
node_15_5 [label = <<table><tr><td>'HTML table'</td></tr></table>>];
node_15_5 [label = <<table><tr><td>HTML table: 'X' &amp; "Y" &amp; "Z"</td></tr></table>>]
node_15_6 [label = "Escaped quotes 1: (\")"];
node_15_7 [label = "Escaped quotes 2: \""];

node_15_1 -> node_15_2;
}

Output file 17: html/15.svg (3416 bytes)
18 Input file: data/16.01.gv (138 bytes):
strict digraph graph_16_01
{
subgraph subgraph_16_01_1
{
node_16_01_2 -> node_16_01_3
[
color = blue
dir = "both",
]
}
}

Output file 18: html/16.01.svg (1621 bytes)
19 Input file: data/16.02.gv (82 bytes):
strict digraph graph_16_02
{
node_16_02_1
{
node_16_02_2 -> node_16_02_3
}
}

Output file 19: html/16.02.svg (1786 bytes)
20 Input file: data/16.03.gv (121 bytes):
strict digraph graph_16_03
{
node_16_03_1
{
node_16_03_2 -> node_16_03_3
}
[
color = blue
dir = "both",
]
}

Output file 20: html/16.03.svg (1786 bytes)
21 Input file: data/16.04.gv (140 bytes):
strict digraph graph_16_04
{
node_16_04_1
->
{
node_16_04_2
}

node_16_04_3 -> node_16_04_4
[
color = blue
dir = "both",
]
}

Output file 21: html/16.04.svg (2521 bytes)
22 Input file: data/17.01.gv (592 bytes):
digraph graph_17_01
{
node
[
shape = "record"
]
edge
[
color = "blue"
penwidth = 1
]
node_17_01_1
[
label = "<p11> left|<p12> middle|<p13> right"
]
node_17_01_2
[
label = "<p21> one|<p22> two"
]
node_17_01_1:p12:n -> node_17_01_2:p22
[
arrowtail = "empty"
arrowhead = "halfopen"
dir = "both"
]
node_17_01_1:p13 -> node_17_01_2:p22:s
[
arrowtail = "invdot"
arrowhead = "dot"
color = green
dir = "both"
]
node_17_01_1:p13:ne -> node_17_01_2:p21:s
[
arrowtail = "crow"
arrowhead = "tee"
color = red
dir = "both"
]
}

Output file 22: html/17.01.svg (3861 bytes)
23 Input file: data/17.02.gv (851 bytes):
STRICT digraph graph_17_02
{
fontsize = 16.0
label = "\"Standard\"\rSyntax\lTest"
size = "5,6"

node
[
shape = "record",
];

edge
[
color = "red"
penwidth = 3,
];

node_17_02_1
[
label = "<p11> left|<p12> middle|<p13> right"
pencolor = blue
]

node_17_02_2
[
pencolor = green
label = "<p21> one|<p22> two"
]

node_17_02_1:p11 -> node_17_02_2:p22:s
[
arrowhead = "odiamond";
arrowtail = "odot",
color = red
dir = both;
];

subgraph subgraph_17_02_3
{
node [shape = square]

label = ""

node_17_02_4 -> { node [shape = circle] node_17_02_5 }
[
arrowhead = "empty",
arrowtail = "halfopen"
color = green
dir = "both",
]

node_17_02_6 -> node_17_02_7
[
arrowhead = "halfopen",
arrowtail = "empty"
color = blue
dir = "both",
]
}
}

Output file 23: html/17.02.svg (4923 bytes)
24 Input file: data/18.gv (791 bytes):
digraph graph_18
{
label = "dot - graphviz version 2.38.0 (20140413.2041), with local patches from Emden"

node [style = filled]

# Subgraph 1.

subgraph cluster_18_1
{
label = ""

node [fillcolor = red]

node_18_2
node_18_3
}

->

subgraph
{
node [fillcolor = green]

node_18_4
node_18_5
}

->

cluster_18_6

[
arrowhead = "empty",
arrowtail = "halfopen"
color = green
dir = "both",
]

# The above is just a node, because without the literal 'subgraph',
# it does not represent the name of the following subgraph.

# Subgraph 3.

{
node_18_7 [fillcolor = blue]
node_18_8 [fillcolor = blue]
}

->

{
node_18_9 [fillcolor = yellow]
}

[
arrowhead = "halfopen",
arrowtail = "empty"
color = blue
dir = "both",
]
}

Output file 24: html/18.svg (6892 bytes)
25 Input file: data/19.gv (369 bytes):
digraph graph_19
{
size = "6,6"

node [shape = square]
edge [color = red]

node_19_1 -> node_19_2

subgraph subgraph_19_3
{
node [shape = star]
edge [color = green]

node_19_4 -> node_19_5

subgraph subgraph_19_6
{
node [shape = circle]
edge [color = blue]

node_19_7 -> node_19_8
}

node_19_9 -> node_19_10
}

node_19_11 -> node_19_12
}

Output file 25: html/19.svg (5577 bytes)
26 Input file: data/20.gv (73 bytes):
digraph graph_20
{
node_20_1 -> node_20_2 -> node_20_3 [penwidth = 3]
}

Output file 26: html/20.svg (2147 bytes)
27 Input file: data/21.gv (46 bytes):
digraph graph_21
{
attribute_21 = value_21
}

Output file 27: html/21.svg (578 bytes)
28 Input file: data/22.gv (56 bytes):
digraph graph_22
{
node_22_1
[
fillcolor = red
]
}

Output file 28: html/22.svg (866 bytes)
29 Input file: data/23.gv (43 bytes):
digraph graph_23
{
node_23_1
node_23_2
}

Output file 29: html/23.svg (1133 bytes)
30 Input file: data/24.gv (85 bytes):
digraph graph_24
{
node_24_1
[
color = red
]
node_24_2
[
color = green
]
}

Output file 30: html/24.svg (1131 bytes)
31 Input file: data/25.gv (72 bytes):
digraph graph_25
{
node_25_1
[
color = red
fontcolor = green
]
}

Output file 31: html/25.svg (877 bytes)
32 Input file: data/26.gv (73 bytes):
digraph graph_26
{
node_26_1
[
color = red,
fontcolor = green
]
}

Output file 32: html/26.svg (877 bytes)
33 Input file: data/27.gv (147 bytes):
digraph graph_27
{
node_27_1
[
color = red
fontcolor = green
]
node_27_2
[
color = green
fontcolor = red
]
node_27_1 -> node_27_2
}

Output file 33: html/27.svg (1496 bytes)
34 Input file: data/28.gv (172 bytes):
digraph graph_28
{
edge
[
dir = both
]
node_28_1
[
color = red
fontcolor = green
]
node_28_2
[
color = green
fontcolor = red
]
node_28_1 -> node_28_2
}

Output file 34: html/28.svg (1612 bytes)
35 Input file: data/29.01.gv (293 bytes):
digraph graph_29_01
{
# 'one' is a node name, not a subgraph name.

one { two -> three }

# 'cluster_four' is a node name, not a subgraph name.

cluster_four { five -> six }

# 'cluster_seven' is a subgraph name, not a node name.

subgraph cluster_seven { label = "\G" eight -> nine }
}

Output file 35: html/29.01.svg (3683 bytes)
36 Input file: data/29.02.gv (60 bytes):
digraph graph_29_02
{
{
node_29_02_1
node_29_02_2
}
}

Output file 36: html/29.02.svg (1157 bytes)
37 Input file: data/29.03.gv (74 bytes):
digraph graph_29_03
{
node_29_03_1
{
node_29_03_2
node_29_03_3
}
}

Output file 37: html/29.03.svg (1433 bytes)
38 Input file: data/29.04.gv (78 bytes):
digraph graph_29_3
{
subgraph sub_29_3_1
{
node_29_3_2
node_29_3_3
}
}

Output file 38: html/29.04.svg (1147 bytes)
39 Input file: data/29.05.gv (97 bytes):
digraph graph_29_05
{
{
node_29_05_1
node_29_05_2
}

{
node_29_05_3
node_29_05_4
}
}

Output file 39: html/29.05.svg (1709 bytes)
40 Input file: data/29.06.gv (110 bytes):
digraph graph_29_06
{
{
node_29_06_1
node_29_06_2
}

sub_29_06_3
{
node_29_06_4
node_29_06_5
}
}

Output file 40: html/29.06.svg (1982 bytes)
41 Input file: data/29.07.gv (119 bytes):
digraph graph_29_07
{
{
node_29_07_1
node_29_07_2
}

subgraph sub_29_07_3
{
node_29_07_4
node_29_07_5
}
}

Output file 41: html/29.07.svg (1709 bytes)
42 Input file: data/30.gv (134 bytes):
digraph graph_30
{
node_30_1
[
color = red
fontcolor = green
label = <<table><tr><td>html-style label</td></tr></table>>
]
}

Output file 42: html/30.svg (1164 bytes)
43 Input file: data/31.gv (191 bytes):
digraph graph_31
{
node_31_1
[
color = red
fontcolor = green
label = <<table border='0'><tr><td>html-style label with literal &lt;br /&gt; and no table border</td></tr></table>>
]
}

Output file 43: html/31.svg (961 bytes)
44 Input file: data/32.gv (180 bytes):
digraph graph_32
{
node_32_1
[
arbitrary = attribute
color = red
fontcolor = green
label = <<table><tr><td>html-style label with literal &lt;&gt;</td></tr></table>>
]
}

Output file 44: html/32.svg (1155 bytes)
45 Input file: data/33.gv (374 bytes):
digraph graph_33
{
node_33_1
[
color = red
fontcolor = green
label = <<table><tr><td>html-style label for node_33_1</td></tr></table>>
]
node_33_2
[
color = green
fontcolor = red
label = <<table><tr><td>html-style label for node_33_2</td></tr></table>>
]
node_33_1 -> node_33_2
[
arrowhead = crow
arrowtail = diamond
color = blue
dir = both
]
}

Output file 45: html/33.svg (2208 bytes)
46 Input file: data/34.gv (173 bytes):
digraph graph_34
{
node_34_1
[
color = red
fontcolor = green
label = <<table><tr><td>html-style label with &lt;&gt; embedded angle brackets</td></tr></table>>
];
}

Output file 46: html/34.svg (1203 bytes)
47 Input file: data/35.gv (377 bytes):
digraph graph_35
{
node_35_1
[
color = red
fontcolor = green
label = <<table><tr><td>html-style label for node_35_1</td></tr></table>>
];
node_35_2
[
color = green
fontcolor = red
label = <<table><tr><td>html-style label for node_35_2</td></tr></table>>
];
node_35_1 -> node_35_2
[
arrowhead = crow
arrowtail = diamond
color = blue
dir = both
];
}

Output file 47: html/35.svg (2208 bytes)
48 Input file: data/36.gv (95 bytes):
digraph graph_36
{
// C++-style comment.
node_36_1
[
color = red
fontcolor = green
];
}

Output file 48: html/36.svg (877 bytes)
49 Input file: data/37.gv (95 bytes):
digraph graph_37
{
# Bash-style comment.
node_37_1
[
color = red
fontcolor = green
];
}

Output file 49: html/37.svg (877 bytes)
50 Input file: data/38.gv (252 bytes):
digraph graph_38
{
node_38_1
[
color = red
fontcolor = green
label = <<table border='0'><tr><td>html-style label with 2 <br align='center' /> &lt;br /&gt;s in the middle <br align='center' /> and without a table border.</td></tr></table>>
]
}

Output file 50: html/38.svg (1209 bytes)
51 Input file: data/39.gv (122 bytes):
digraph graph_39
{
node_39_1
[
color = red
fontcolor = green
label = "Quoted label with \n embedded newline"
]
}

Output file 51: html/39.svg (1048 bytes)
52 Input file: data/40.gv (85 bytes):
digraph "graph_40"
{
"node_40_1"
[
"color" = "red",
"fontcolor" = "green"
]
}

Output file 52: html/40.svg (877 bytes)
53 Input file: data/41.gv (90 bytes):
digraph
{
node_41_1
[
color = red,
fontcolor = green
label = "ID-less graph"
]
}

Output file 53: html/41.svg (871 bytes)
54 Input file: data/42.01.gv (44 bytes):
digraph graph_42_01
{
node_42_01_1
[
]
}

Output file 54: html/42.01.svg (881 bytes)
55 Input file: data/42.02.gv (56 bytes):
digraph graph_42_02
{
node_42_02_1
[
fixedsize
]
}
Dot result: Error.
56 Input file: data/42.03.gv (63 bytes):
digraph graph_42_03
{
node_42_03_1
[
fixedsize = true
]
}

Output file 56: html/42.03.svg (854 bytes)
57 Input file: data/42.04.gv (64 bytes):
digraph graph_42_04
{
node_42_04_1
[
fixedsize
width
]
}
Dot result: Error.
58 Input file: data/42.05.gv (68 bytes):
digraph graph_42_05
{
node_42_05_1
[
fixedsize
width = 2
]
}
Dot result: Error.
59 Input file: data/42.06.gv (71 bytes):
digraph graph_42_06
{
node_42_06_1
[
fixedsize = true
width
]
}
Dot result: Error.
60 Input file: data/42.07.gv (75 bytes):
digraph graph_42_07
{
node_42_07_1
[
fixedsize = true
width = 2
]
}

Output file 60: html/42.07.svg (858 bytes)
61 Input file: data/42.08.gv (73 bytes):
digraph graph_42_08
{
node_42_08_1
[
fixedsize
height
width
]
}
Dot result: Error.
62 Input file: data/42.09.gv (77 bytes):
digraph graph_42_09
{
node_42_09_1
[
fixedsize
height
width = 2
]
}
Dot result: Error.
63 Input file: data/42.10.gv (81 bytes):
digraph graph_42_10
{
node_42_10_1
[
fixedsize
height = 2
width = 2
]
}
Dot result: Error.
64 Input file: data/42.11.gv (84 bytes):
digraph graph_42_11
{
node_42_11_1
[
fixedsize = true
height
width = 2
]
}
Dot result: Error.
65 Input file: data/42.12.gv (77 bytes):
digraph graph_42_12
{
node_42_12_1
[
fixedsize
height = 2
width
]
}
Dot result: Error.
66 Input file: data/43.gv (134 bytes):
digraph graph_43
{
node_43_1
[
color = red
fontcolor = green
shape = box
]
node_43_2
[
fixedsize = true
width = 2
]
}

Output file 66: html/43.svg (1125 bytes)
67 Input file: data/44.gv (76 bytes):
graph graph_44
{
node
[
shape = box
]
course;
institute;
student;
}

Output file 67: html/44.svg (1367 bytes)
68 Input file: data/45.gv (159 bytes):
graph graph_45
{
node
[
shape = box
]
course;
institute;
student;
node
[
shape = ellipse
]
node
[
label = "name"
]
name0;
name1;
name2;
}

Output file 68: html/45.svg (2113 bytes)
69 Input file: data/46.gv (172 bytes):
graph graph_46
{
node
[
shape = box
]
course;
institute;
student;
node
[
shape = ellipse
]
{
node
[
label = "name"
]
name0;
name1;
name2;
}
}

Output file 69: html/46.svg (2113 bytes)
70 Input file: data/47.01.gv (88 bytes):
digraph graph_47_01
{
big
->
{
small
smaller
smallest
}
[pencolor = green]
}

Output file 70: html/47.01.svg (2591 bytes)
71 Input file: data/47.02.gv (88 bytes):
digraph graph_47_02
{
{
small
smaller
smallest
}
->
big
[pencolor = green]
}

Output file 71: html/47.02.svg (2581 bytes)
72 Input file: data/47.03.gv (114 bytes):
digraph graph_47_03
{
{
small
smaller
smallest
}
->
{
big
bigger
biggest
}
[pencolor = green]
}

Output file 72: html/47.03.svg (5136 bytes)
73 Input file: data/48.gv (187 bytes):
graph graph_48
{
node
[
shape = box
]
course;
institute;
student;
node
[
shape = ellipse
]
{
}
code;
grade;
number;
name0 -- course;
code -- course;
fontsize = 20;
}

Output file 73: html/48.svg (2904 bytes)
74 Input file: data/49.gv (247 bytes):
graph graph_49
{
node
[
shape = box
]
course;
institute;
student;
node
[
shape = ellipse
]
{
node
[
label = "name"
]
name0;
name1;
name2;
}
code;
grade;
number;
name0 -- course;
code -- course;
fontsize = 20;
}

Output file 74: html/49.svg (3413 bytes)
75 Input file: data/50.gv (63 bytes):
digraph graph_50
{
# A node whose name is 0. Can we cope?
0
}

Output file 75: html/50.svg (815 bytes)
76 Input file: data/51.gv (177 bytes):
digraph graph_51
{
edge [color = blue]

node [shape = Mdiamond]

node_51_01

node [shape = Msquare]

node_51_02

graph [label = "Class Demo"]

node_51_01 -> node_51_02
}

Output file 76: html/51.svg (2268 bytes)
77 Input file: data/52.gv (183 bytes):
# In V 1.04 this would output a node called 'node_52_2node_52_3'.
# This bug is fixed in V 1.05. See notes in the CHANGES file.

digraph graph_52
{
node_52_1 -> node_52_2
node_52_3
}

Output file 77: html/52.svg (1741 bytes)
78 Input file: data/53.gv (690 bytes):
# Hash comment

strict digraph graph_53
{
label = "Complex\rSyntax\lTest"
rankdir = TB

A [shape = oval]

node [shape = house]
edge [color = purple]

{
rank = same
B
C
node [shape = oval]
D
ordering = out
A -> B
C -> D
}

node [color = green style = filled]
E
F
E -> F [label = "e->f", dir = both, arrowhead = dot, arrowtail = odot]

subgraph cluster_outer
{
G -> H
node [shape = hexagon]
node [color = red]
label = Outer
subgraph cluster_inner
{
node [shape = triangle]
edge [color = blue]
I [color = pink shape = square]
I -> J
label = Inner
}
}
graph [rankdir = TB]
node [color = orange]
K
L
K -> L [label = "k->l"]
}

Output file 78: html/53.svg (6628 bytes)
79 Input file: data/54.gv (115 bytes):
# V 1.05 would mis-parse 'A [] B' as 'A'.
# Node B would be lost because [] is empty.

digraph graph_54
{
A [] B
}

Output file 79: html/54.svg (1047 bytes)
80 Input file: data/55.gv (1024 bytes):
strict digraph graph_55
{
label = "Complex Syntax Test"

A [color = blue]

node [shape = house]
edge [color = purple]

{
rank = same
C
node [fillcolor = goldenrod shape = circle style = filled]
A -> B
B [color = mediumseagreen]
C [color = firebrick1]
B -> C [color = orange penwidth = 5]
node [fillcolor = turquoise4]
C -> D [arrowtail = obox arrowhead = crow dir = both minlen = 2]
D -> E [arrowtail = odot arrowhead = dot dir = both minlen = 2 penwidth = 5]
{
node [fillcolor = darkorchid shape = pentagon]
F [color = darkorchid fillcolor = yellow penwidth = 5 shape = hexagon]
G [color = crimson penwidth = 7]
F -> G
}
}

B [shape = square]

node [fillcolor = lightblue fontsize = 20 style = filled]

subgraph cluster_outer
{
label = Outer
H -> I

subgraph cluster_inner
{
label = Inner
node [fillcolor = magenta fontsize = 26 shape = triangle]
edge [color = blue]
J [color = yellow shape = square]
J -> K [penwidth = 4]
}
}
graph [rankdir = TB]
}

Output file 80: html/55.svg (6917 bytes)
81 Input file: data/56.gv (1353 bytes):
digraph g {
rankdir=LR;

node [shape=rpromoter colorscheme=rdbu5 color=1 style=filled fontcolor=3]; Hef1a; TRE; UAS; Hef1aLacOid;
Hef1aLacOid [label="Hef1a-LacOid"];
node [shape=rarrow colorscheme=rdbu5 color=5 style=filled fontcolor=3]; Gal4VP16; LacI; rtTA3; DeltamCherry;
Gal4VP16 [label="Gal4-VP16"];
product [shape=oval style=filled colorscheme=rdbu5 color=2 label=""];
repression [shape=oval label="LacI repression" fontcolor=black style=dotted];
node [shape=oval style=filled colorscheme=rdbu5 color=4 fontcolor=5];
combination [label="rtTA3 + Doxycycline"];
LacIprotein [label="LacI"];
rtTA3protein [label="rtTA3"];
Gal4VP16protein [label="Gal4-VP16"];


subgraph cluster_0 {
colorscheme=rdbu5;
color=3;
node [colorscheme=rdbu5 fontcolor=3];
Hef1a -> Gal4VP16 [arrowhead=none];
Gal4VP16 -> UAS [arrowhead=none];
UAS -> LacI [arrowhead=none];
LacI -> Hef1aLacOid [arrowhead=none];
Hef1aLacOid -> rtTA3 [arrowhead=none];
rtTA3 -> TRE [arrowhead=none];
TRE -> DeltamCherry [arrowhead=none]
}

Gal4VP16 -> Gal4VP16protein;
Gal4VP16protein -> UAS;
LacI -> LacIprotein;
LacIprotein -> repression;
repression -> Hef1aLacOid [arrowhead=tee];
IPTG -> repression [arrowhead=tee];
rtTA3 -> rtTA3protein;
rtTA3protein -> combination;
combination -> TRE;
Doxycycline -> combination;
DeltamCherry -> product;



}

Output file 81: html/56.svg (10989 bytes)
82 Input file: data/57.gv (4389 bytes):
digraph G {
graph [rankdir=LR nodesep=0]
node [shape=point label=""]
edge [fontsize=10]
_box -> box [arrowhead=box label=box]
box -> boxbox [arrowhead=boxbox label=boxbox]
_box -> lbox [arrowhead=lbox label=lbox]
lbox -> lboxlbox [arrowhead=lboxlbox label=lboxlbox]
_box -> rbox [arrowhead=rbox label=rbox]
rbox -> rboxrbox [arrowhead=rboxrbox label=rboxrbox]
_box -> olbox [arrowhead=olbox label=olbox]
olbox -> olboxolbox [arrowhead=olboxolbox label=olboxolbox]
_box -> orbox [arrowhead=orbox label=orbox]
orbox -> orboxorbox [arrowhead=orboxorbox label=orboxorbox]
_box -> obox [arrowhead=obox label=obox]
obox -> oboxobox [arrowhead=oboxobox label=oboxobox]
_crow -> crow [arrowhead=crow label=crow]
crow -> crowcrow [arrowhead=crowcrow label=crowcrow]
_crow -> lcrow [arrowhead=lcrow label=lcrow]
lcrow -> lcrowlcrow [arrowhead=lcrowlcrow label=lcrowlcrow]
_crow -> rcrow [arrowhead=rcrow label=rcrow]
rcrow -> rcrowrcrow [arrowhead=rcrowrcrow label=rcrowrcrow]
_diamond -> diamond [arrowhead=diamond label=diamond]
diamond -> diamonddiamond [arrowhead=diamonddiamond label=diamonddiamond]
_diamond -> ldiamond [arrowhead=ldiamond label=ldiamond]
ldiamond -> ldiamondldiamond [arrowhead=ldiamondldiamond label=ldiamondldiamond]
_diamond -> rdiamond [arrowhead=rdiamond label=rdiamond]
rdiamond -> rdiamondrdiamond [arrowhead=rdiamondrdiamond label=rdiamondrdiamond]
_diamond -> oldiamond [arrowhead=oldiamond label=oldiamond]
oldiamond -> oldiamondoldiamond [arrowhead=oldiamondoldiamond label=oldiamondoldiamond]
_diamond -> ordiamond [arrowhead=ordiamond label=ordiamond]
ordiamond -> ordiamondordiamond [arrowhead=ordiamondordiamond label=ordiamondordiamond]
_diamond -> odiamond [arrowhead=odiamond label=odiamond]
odiamond -> odiamondodiamond [arrowhead=odiamondodiamond label=odiamondodiamond]
_dot -> dot [arrowhead=dot label=dot]
dot -> dotdot [arrowhead=dotdot label=dotdot]
_dot -> odot [arrowhead=odot label=odot]
odot -> odotodot [arrowhead=odotodot label=odotodot]
_inv -> inv [arrowhead=inv label=inv]
inv -> invinv [arrowhead=invinv label=invinv]
_inv -> linv [arrowhead=linv label=linv]
linv -> linvlinv [arrowhead=linvlinv label=linvlinv]
_inv -> rinv [arrowhead=rinv label=rinv]
rinv -> rinvrinv [arrowhead=rinvrinv label=rinvrinv]
_inv -> olinv [arrowhead=olinv label=olinv]
olinv -> olinvolinv [arrowhead=olinvolinv label=olinvolinv]
_inv -> orinv [arrowhead=orinv label=orinv]
orinv -> orinvorinv [arrowhead=orinvorinv label=orinvorinv]
_inv -> oinv [arrowhead=oinv label=oinv]
oinv -> oinvoinv [arrowhead=oinvoinv label=oinvoinv]
_none -> none [arrowhead=none label=none]
none -> nonenone [arrowhead=nonenone label=nonenone]
_normal -> normal [arrowhead=normal label=normal]
normal -> normalnormal [arrowhead=normalnormal label=normalnormal]
_normal -> lnormal [arrowhead=lnormal label=lnormal]
lnormal -> lnormallnormal [arrowhead=lnormallnormal label=lnormallnormal]
_normal -> rnormal [arrowhead=rnormal label=rnormal]
rnormal -> rnormalrnormal [arrowhead=rnormalrnormal label=rnormalrnormal]
_normal -> olnormal [arrowhead=olnormal label=olnormal]
olnormal -> olnormalolnormal [arrowhead=olnormalolnormal label=olnormalolnormal]
_normal -> ornormal [arrowhead=ornormal label=ornormal]
ornormal -> ornormalornormal [arrowhead=ornormalornormal label=ornormalornormal]
_normal -> onormal [arrowhead=onormal label=onormal]
onormal -> onormalonormal [arrowhead=onormalonormal label=onormalonormal]
_tee -> tee [arrowhead=tee label=tee]
tee -> teetee [arrowhead=teetee label=teetee]
_tee -> ltee [arrowhead=ltee label=ltee]
ltee -> lteeltee [arrowhead=lteeltee label=lteeltee]
_tee -> rtee [arrowhead=rtee label=rtee]
rtee -> rteertee [arrowhead=rteertee label=rteertee]
_vee -> vee [arrowhead=vee label=vee]
vee -> veevee [arrowhead=veevee label=veevee]
_vee -> lvee [arrowhead=lvee label=lvee]
lvee -> lveelvee [arrowhead=lveelvee label=lveelvee]
_vee -> rvee [arrowhead=rvee label=rvee]
rvee -> rveervee [arrowhead=rveervee label=rveervee]
_curve -> curve [arrowhead=curve label=curve]
curve -> curvecurve [arrowhead=curvecurve label=curvecurve]
_curve -> lcurve [arrowhead=lcurve label=lcurve]
lcurve -> lcurvelcurve [arrowhead=lcurvelcurve label=lcurvelcurve]
_curve -> rcurve [arrowhead=rcurve label=rcurve]
rcurve -> rcurvercurve [arrowhead=rcurvercurve label=rcurvercurve]
}

Output file 82: html/57.svg (58546 bytes)
83 Input file: data/58.gv (203 bytes):
digraph graph_58
{
<<table><tr><td>node_58_1</td></tr></table>>

<<table><tr><td>node_58_2</td></tr></table>> [label = "node_58_2"]

node_58_3 [label = <<table><tr><td>node_58_3</td></tr></table>>]
}

Output file 83: html/58.svg (2047 bytes)
84 Input file: data/59.01.gv (32 bytes):
digraph graph_59_01
{
A -> B
}

Output file 84: html/59.01.svg (1333 bytes)
85 Input file: data/59.02.gv (57 bytes):
# Comment before graph.

digraph graph_59_02
{
A -> B
}

Output file 85: html/59.02.svg (1333 bytes)
86 Input file: data/59.03.gv (56 bytes):
digraph graph_59_03
{
A -> B
}

# Comment after graph.

Output file 86: html/59.03.svg (1333 bytes)
87 Input file: data/59.04.gv (81 bytes):
# Comment before graph.

digraph graph_59_04
{
A -> B
}

# Comment after graph.

Output file 87: html/59.04.svg (1333 bytes)
88 Input file: data/59.05.gv (225 bytes):
digraph graph_59_05
{
edge [penwidth = 3]

node [shape = square]

# Comment within graph.

A -> B [arrowhead = odot]

# Comment within graph.

C -> D

# Comment within graph.

label = "Test BNF re comment handling"
}

Output file 88: html/59.05.svg (2353 bytes)
89 Input file: data/60.gv (51 bytes):
digraph graph_60
{
node_60_1 [label = <. .>]
}

Output file 89: html/60.svg (852 bytes)
90 Input file: data/61.gv (90 bytes):
digraph graph_61
{
node_61_1 [label = "Backslash used to put \
this label on 2 lines"]
}

Output file 90: html/61.svg (900 bytes)
91 Input file: data/62.gv (207 bytes):
// Use double-quotes around 'reserved' words.

# "digraph" is a graph name and not a graph type.

digraph "digraph"
{
# "node" is a node name and not a class name.

"node" [color = green style = filled]
}

Output file 91: html/62.svg (846 bytes)

Links

Index page for all graph module demos


Environment

Author
Date
2014-11-27
OS
Debian V 7
Perl
5.18.2