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

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)

The files with names like 90.*.gv are copies of the corresponding files *.gv from the Graphviz distro.

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

Output file 8: html/08.svg (566 bytes)
Input file 9: data/09.gv (28 bytes):
strict digraph graph_09
{
}

Output file 9: html/09.svg (578 bytes)
Input file 10: data/10.gv (72 bytes):
digraph graph_10
{
edge ["color" = "green"];
node [shape=rpromoter]
}

Output file 10: html/10.svg (578 bytes)
Input file 11: data/11.gv (58 bytes):
strict graph graph_11
{
rankdir = LR;
ranksep = "0.2"
}

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

graph graph_12
{
size = "6,7"

node_12 [shape = square]
}

# Suffix comment.

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

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

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

Output file 14: html/14.svg (1149 bytes)
Input file 15: 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 15: html/15.svg (3416 bytes)
Input file 16: data/16.gv (873 bytes):
/* C comment. */

// C++ comment.

# Hash comment.

STRICT digraph graph_16
{
fontsize = 16.0
label = "\"Standard\"\rSyntax\lTest"
size = "5,6"

node
[
shape = "record",
];

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

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

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

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

subgraph subgraph_16_1
{
node [shape = square]

label = ""

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

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

Output file 16: html/16.svg (4835 bytes)
Input file 17: data/17.gv (565 bytes):
digraph graph_17
{
node
[
shape = "record"
]
edge
[
color = "blue"
penwidth = 1
]
node_17_1
[
label = "<p11> left|<p12> middle|<p13> right"
]
node_17_2
[
label = "<p21> one|<p22> two"
]
node_17_1:p12:n -> node_17_2:p22
[
arrowtail = "empty"
arrowhead = "halfopen"
dir = "both"
]
node_17_1:p13 -> node_17_2:p22:s
[
arrowtail = "invdot"
arrowhead = "dot"
color = green
dir = "both"
]
node_17_1:p13:ne -> node_17_2:p21:s
[
arrowtail = "crow"
arrowhead = "tee"
color = red
dir = "both"
]
}

Output file 17: html/17.svg (3807 bytes)
Input file 18: 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_1
node_18_2
}

->

subgraph
{
node [fillcolor = green]

node_18_3
node_18_4
}

->

cluster_18_3

[
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_5 [fillcolor = blue]
node_18_6 [fillcolor = blue]
}

->

{
node_18_7 [fillcolor = yellow]
}

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

Output file 18: html/18.svg (6892 bytes)
Input file 19: data/19.gv (84 bytes):
digraph graph_19
{
subgraph subgraph_19_1
{
subgraph subgraph_19_2
{
}
}
}

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

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

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

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

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

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

Output file 25: html/25.svg (869 bytes)
Input file 26: data/26.gv (71 bytes):
digraph graph_26
{
node_26
[
color = red,
fontcolor = green
]
}

Output file 26: html/26.svg (869 bytes)
Input file 27: 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 27: html/27.svg (1496 bytes)
Input file 28: 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 28: html/28.svg (1612 bytes)
Input file 29: data/29.gv (110 bytes):
digraph graph_29
{
subgraph subgraph_29_1
{
subgraph subgraph_29_2
{
node_29_1 -> node_29_2
}
}
}

Output file 29: html/29.svg (1474 bytes)
Input file 30: data/30.gv (132 bytes):
digraph graph_30
{
node_30
[
color = red
fontcolor = green
label = <<table><tr><td>html-style label</td></tr></table>>
]
}

Output file 30: html/30.svg (1160 bytes)
Input file 31: data/31.gv (189 bytes):
digraph graph_31
{
node_31
[
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 31: html/31.svg (957 bytes)
Input file 32: data/32.gv (178 bytes):
digraph graph_32
{
node_32
[
arbitrary = attribute
color = red
fontcolor = green
label = <<table><tr><td>html-style label with literal &lt;&gt;</td></tr></table>>
]
}

Output file 32: html/32.svg (1151 bytes)
Input file 33: 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 33: html/33.svg (2208 bytes)
Input file 34: data/34.gv (171 bytes):
digraph graph_34
{
node_34
[
color = red
fontcolor = green
label = <<table><tr><td>html-style label with &lt;&gt; embedded angle brackets</td></tr></table>>
];
}

Output file 34: html/34.svg (1199 bytes)
Input file 35: 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 35: html/35.svg (2208 bytes)
Input file 36: data/36.gv (93 bytes):
digraph graph_36
{
// C++-style comment.
node_36
[
color = red
fontcolor = green
];
}

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

Output file 37: html/37.svg (869 bytes)
Input file 38: data/38.gv (250 bytes):
digraph graph_38
{
node_38
[
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 38: html/38.svg (1205 bytes)
Input file 39: data/39.gv (120 bytes):
digraph graph_39
{
node_39
[
color = red
fontcolor = green
label = "Quoted label with \n embedded newline"
]
}

Output file 39: html/39.svg (1044 bytes)
Input file 40: data/40.gv (83 bytes):
digraph "graph_40"
{
"node_40"
[
"color" = "red",
"fontcolor" = "green"
]
}

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

Output file 41: html/41.svg (867 bytes)
Input file 42: data/42.01.gv (42 bytes):
digraph graph_42_01
{
node_42_01
[
]
}

Output file 42: html/42.01.svg (873 bytes)
Input file 43: data/42.02.gv (54 bytes):
digraph graph_42_02
{
node_42_02
[
fixedsize
]
}
Dot result: Error.
Input file 44: data/42.03.gv (61 bytes):
digraph graph_42_03
{
node_42_03
[
fixedsize = true
]
}

Output file 44: html/42.03.svg (848 bytes)
Input file 45: data/42.04.gv (62 bytes):
digraph graph_42_04
{
node_42_04
[
fixedsize
width
]
}
Dot result: Error.
Input file 46: data/42.05.gv (66 bytes):
digraph graph_42_05
{
node_42_05
[
fixedsize
width = 2
]
}
Dot result: Error.
Input file 47: data/42.06.gv (69 bytes):
digraph graph_42_06
{
node_42_06
[
fixedsize = true
width
]
}
Dot result: Error.
Input file 48: data/42.07.gv (73 bytes):
digraph graph_42_07
{
node_42_07
[
fixedsize = true
width = 2
]
}

Output file 48: html/42.07.svg (852 bytes)
Input file 49: data/42.08.gv (71 bytes):
digraph graph_42_08
{
node_42_08
[
fixedsize
height
width
]
}
Dot result: Error.
Input file 50: data/42.09.gv (75 bytes):
digraph graph_42_09
{
node_42_09
[
fixedsize
height
width = 2
]
}
Dot result: Error.
Input file 51: data/42.10.gv (79 bytes):
digraph graph_42_10
{
node_42_10
[
fixedsize
height = 2
width = 2
]
}
Dot result: Error.
Input file 52: data/42.11.gv (82 bytes):
digraph graph_42_11
{
node_42_11
[
fixedsize = true
height
width = 2
]
}
Dot result: Error.
Input file 53: data/42.12.gv (75 bytes):
digraph graph_42_12
{
node_42_12
[
fixedsize
height = 2
width
]
}
Dot result: Error.
Input file 54: 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 54: html/43.svg (1125 bytes)
Input file 55: data/44.gv (76 bytes):
graph graph_44
{
node
[
shape = box
]
course;
institute;
student;
}

Output file 55: html/44.svg (1367 bytes)
Input file 56: 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 56: html/45.svg (2113 bytes)
Input file 57: 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 57: html/46.svg (2113 bytes)
Input file 58: data/47.01.gv (88 bytes):
digraph graph_47_01
{
big
->
{
small
smaller
smallest
}
[pencolor = green]
}

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

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

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

Output file 61: html/48.svg (2904 bytes)
Input file 62: 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 62: html/49.svg (3413 bytes)
Input file 63: data/50.gv (63 bytes):
digraph graph_50
{
# A node whose name is 0. Can we cope?
0
}

Output file 63: html/50.svg (815 bytes)
Input file 64: 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 64: html/51.svg (2268 bytes)
Input file 65: 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 65: html/52.svg (1741 bytes)
Input file 66: 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 66: html/53.svg (6628 bytes)
Input file 67: 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 67: html/54.svg (1047 bytes)
Input file 68: 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 68: html/55.svg (6917 bytes)
Input file 69: 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 69: html/56.svg (10989 bytes)
Input file 70: 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 70: html/57.svg (58546 bytes)
Input file 71: data/58.gv (392 bytes):
# Test of href as a clickable label attribute.
# Note the use of single quotes in the label.
# Double quotes are used for output *.csv files.

digraph href_test
{
edge [color = blue]
node_1 [color = red]
node_2 [color = green]

node_1 -> node_2
[
label = <<table border='0'><tr><td href='http://savage.net.au' title='Tool tip'>Hover over label, then click it</td></tr></table>>
]
}

Output file 71: html/58.svg (1663 bytes)
Input file 72: data/59.gv (203 bytes):
digraph graph_59
{
<<table><tr><td>node_59_1</td></tr></table>>

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

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

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

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

digraph graph_59_02
{
A -> B
}

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

# Comment after graph.

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

digraph graph_59_04
{
A -> B
}

# Comment after graph.

Output file 76: html/59.04.svg (1333 bytes)
Input file 77: 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 77: html/59.05.svg (2353 bytes)
Input file 78: data/60.gv (49 bytes):
digraph graph_60
{
node_60 [label = <. .>]
}

Output file 78: html/60.svg (848 bytes)
Input file 79: data/utf8.01.gv (113 bytes):
digraph utf8_01
{
rankdir = TB

"Reichwaldstraße"

"Böhme"

"ΔΔΔΔΔΔΔΔΔΔΔΔΔ"

"☃"

"✔"
}

Output file 79: html/utf8.01.svg (1949 bytes)
Input file 80: data/utf8.02.gv (295 bytes):
digraph utf8_02
{
rankdir = TB

"Reichwaldstraße" [shape = octagon]

"Böhme"

Three [ label = "ʎ ʏ ʐ ʑ ʒ ʓ ʙ ʚ"]

Four [ label = "Πηληϊάδεω Ἀχιλῆος"]

"ΔΔΔΔΔΔΔΔΔΔΔΔΔ"

Snowman [ label = "Label has a ☃"]

Tick [ label = "Label has a ✔"]
}

Output file 80: html/utf8.02.svg (2656 bytes)
Input file 81: data/utf8.03.gv (503 bytes):
graph utf8_03
{
rankdir = TB

"Reichwaldstraße" -- "Böhme" [color = blue penwidth = 2]

Three [ label = "ʎ ʏ ʐ ʑ ʒ ʓ ʙ ʚ"]

Four [ label = "Πηληϊάδεω Ἀχιλῆος"]

"ΔΔΔΔΔΔΔΔΔΔΔΔΔ"

Snowman [ label = "Label has a ☃"]

Tick [ label = "Label has a ✔"]

Three -- Four [color = green penwidth = 4]

"ΔΔΔΔΔΔΔΔΔΔΔΔΔ" -- Snowman -- Tick [color = red penwidth = 2]
Tick -- Snowman -- "ΔΔΔΔΔΔΔΔΔΔΔΔΔ" [color = gold penwidth = 2]
}

Output file 81: html/utf8.03.svg (4002 bytes)

Links

Index page for all graph module demos


Environment

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