]> granicus.if.org Git - graphviz/commitdiff
xdot output added to shapes regression test
authorErwin Janssen <erwinjanssen@outlook.com>
Thu, 3 Nov 2016 00:54:04 +0000 (01:54 +0100)
committerErwin Janssen <erwinjanssen@outlook.com>
Thu, 3 Nov 2016 00:54:04 +0000 (01:54 +0100)
The script `shapes.py` now also produces and compares xdot output, also
included the xdot reference files.

60 files changed:
tests/regression_tests/shapes/reference/Mcircle.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/Mdiamond.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/Msquare.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/assembly.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/box.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/box3d.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/cds.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/circle.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/component.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/cylinder.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/diamond.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/doublecircle.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/doubleoctagon.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/egg.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/ellipse.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/fivepoverhang.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/folder.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/hexagon.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/house.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/insulator.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/invhouse.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/invtrapezium.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/invtriangle.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/larrow.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/lpromoter.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/none.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/note.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/noverhang.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/octagon.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/oval.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/parallelogram.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/pentagon.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/plain.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/plaintext.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/point.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/polygon.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/primersite.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/promoter.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/proteasesite.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/proteinstab.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/rarrow.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/rect.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/rectangle.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/restrictionsite.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/ribosite.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/rnastab.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/rpromoter.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/septagon.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/signature.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/square.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/star.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/tab.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/terminator.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/threepoverhang.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/trapezium.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/triangle.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/tripleoctagon.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/underline.xdot [new file with mode: 0644]
tests/regression_tests/shapes/reference/utr.xdot [new file with mode: 0644]
tests/regression_tests/shapes/shapes.py

diff --git a/tests/regression_tests/shapes/reference/Mcircle.xdot b/tests/regression_tests/shapes/reference/Mcircle.xdot
new file mode 100644 (file)
index 0000000..1d61b22
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 36 36 36 0 ",
+               bb="0,0,36,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 e 18 18 18 18 c 7 -#000000 L 2 29.91 31.5 6.09 31.5 c 7 -#000000 L 2 29.91 4.5 6.09 4.5 ",
+               height=0.5,
+               label="",
+               pos="18,18",
+               shape=Mcircle,
+               width=0.5];
+}
diff --git a/tests/regression_tests/shapes/reference/Mdiamond.xdot b/tests/regression_tests/shapes/reference/Mdiamond.xdot
new file mode 100644 (file)
index 0000000..86d5127
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 27 36 0 18 27 0 54 18 c 7 -#000000 L 2 9 24 9 12 c 7 -#000000 L 2 18 6 36 6 c 7 -#000000 L 2 45 12 45 24 c 7 -#\
+000000 L 2 36 30 18 30 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=Mdiamond,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/Msquare.xdot b/tests/regression_tests/shapes/reference/Msquare.xdot
new file mode 100644 (file)
index 0000000..939bb33
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 36 36 36 0 ",
+               bb="0,0,36,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 36 36 0 36 0 0 36 0 c 7 -#000000 L 2 12 36 0 24 c 7 -#000000 L 2 0 12 12 0 c 7 -#000000 L 2 24 0 36 12 c 7 -#000000 \
+L 2 36 24 24 36 ",
+               height=0.5,
+               label="",
+               pos="18,18",
+               shape=Msquare,
+               width=0.5];
+}
diff --git a/tests/regression_tests/shapes/reference/assembly.xdot b/tests/regression_tests/shapes/reference/assembly.xdot
new file mode 100644 (file)
index 0000000..a848658
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 15 19.5 39 19.5 39 25.5 15 25.5 c 7 -#000000 p 4 15 10.5 39 10.5 39 16.5 15 16.5 c 7 -#000000 L 2 39 18 54 18 c \
+7 -#000000 L 2 0 18 15 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=assembly,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/box.xdot b/tests/regression_tests/shapes/reference/box.xdot
new file mode 100644 (file)
index 0000000..67fb614
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 54 36 0 36 0 0 54 0 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=box,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/box3d.xdot b/tests/regression_tests/shapes/reference/box3d.xdot
new file mode 100644 (file)
index 0000000..3fa3bc4
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 6 54 36 4 36 0 32 0 0 50 0 54 4 c 7 -#000000 L 2 50 32 0 32 c 7 -#000000 L 2 50 32 50 0 c 7 -#000000 L 2 50 32 54 \
+36 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=box3d,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/cds.xdot b/tests/regression_tests/shapes/reference/cds.xdot
new file mode 100644 (file)
index 0000000..f04ad0f
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 5 42 30 0 30 0 6 42 6 54 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=cds,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/circle.xdot b/tests/regression_tests/shapes/reference/circle.xdot
new file mode 100644 (file)
index 0000000..d5b0186
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 36 36 36 0 ",
+               bb="0,0,36,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 e 18 18 18 18 ",
+               height=0.5,
+               label="",
+               pos="18,18",
+               shape=circle,
+               width=0.5];
+}
diff --git a/tests/regression_tests/shapes/reference/component.xdot b/tests/regression_tests/shapes/reference/component.xdot
new file mode 100644 (file)
index 0000000..7f6a569
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 12 54 36 0 36 0 32 -4 32 -4 28 0 28 0 8 -4 8 -4 4 0 4 0 0 54 0 c 7 -#000000 L 4 0 32 4 32 4 28 0 28 c 7 -#000000 \
+L 4 0 8 4 8 4 4 0 4 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=component,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/cylinder.xdot b/tests/regression_tests/shapes/reference/cylinder.xdot
new file mode 100644 (file)
index 0000000..efc0e28
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 B 19 54 32.73 54 34.53 41.9 36 27 36 12.1 36 0 34.53 0 32.73 0 32.73 0 3.27 0 3.27 0 1.47 12.1 0 27 0 41.9 0 54 1.47 \
+54 3.27 54 3.27 54 32.73 54 32.73 c 7 -#000000 B 7 54 32.73 54 30.92 41.9 29.45 27 29.45 12.1 29.45 0 30.92 0 32.73 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=cylinder,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/diamond.xdot b/tests/regression_tests/shapes/reference/diamond.xdot
new file mode 100644 (file)
index 0000000..44d7f4c
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 27 36 0 18 27 0 54 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=diamond,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/doublecircle.xdot b/tests/regression_tests/shapes/reference/doublecircle.xdot
new file mode 100644 (file)
index 0000000..aef2ea3
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 44 44 44 44 0 ",
+               bb="0,0,44,44",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 e 22 22 18 18 c 7 -#000000 e 22 22 22 22 ",
+               height=0.61111,
+               label="",
+               pos="22,22",
+               shape=doublecircle,
+               width=0.61111];
+}
diff --git a/tests/regression_tests/shapes/reference/doubleoctagon.xdot b/tests/regression_tests/shapes/reference/doubleoctagon.xdot
new file mode 100644 (file)
index 0000000..864eace
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 44 62 44 62 0 ",
+               bb="0,0,62,44",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 8 58 14.54 58 29.46 42.18 40 19.82 40 4 29.46 4 14.54 19.82 4 42.18 4 c 7 -#000000 p 8 62 12.4 62 31.6 43.39 44 18.61 \
+44 0 31.6 0 12.4 18.61 0 43.39 0 ",
+               height=0.61111,
+               label="",
+               pos="31,22",
+               shape=doubleoctagon,
+               width=0.86111];
+}
diff --git a/tests/regression_tests/shapes/reference/egg.xdot b/tests/regression_tests/shapes/reference/egg.xdot
new file mode 100644 (file)
index 0000000..174e9f0
--- /dev/null
@@ -0,0 +1,23 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 57.49 36 57.49 0 ",
+               bb="0,0,57.487,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 120 31.43 0.05 33.2 0.15 34.96 0.3 36.69 0.49 38.39 0.74 40.05 1.03 41.67 1.36 43.23 1.75 44.73 2.18 46.17 2.65 47.54 \
+3.16 48.84 3.71 50.06 4.31 51.2 4.94 52.25 5.61 53.22 6.31 54.09 7.04 54.87 7.8 55.56 8.59 56.15 9.41 56.65 10.25 57.05 11.11 57.36 \
+11.99 57.58 12.89 57.7 13.8 57.73 14.72 57.68 15.65 57.54 16.59 57.31 17.53 57.01 18.47 56.63 19.41 56.18 20.35 55.66 21.28 55.08 \
+22.2 54.43 23.11 53.72 24.01 52.97 24.89 52.16 25.75 51.3 26.59 50.41 27.41 49.48 28.2 48.51 28.96 47.51 29.69 46.48 30.39 45.43 \
+31.06 44.35 31.69 43.26 32.29 42.15 32.84 41.02 33.35 39.89 33.82 38.74 34.25 37.58 34.64 36.42 34.97 35.24 35.26 34.07 35.51 32.89 \
+35.7 31.71 35.85 30.52 35.95 29.34 36 28.15 36 26.96 35.95 25.78 35.85 24.6 35.7 23.42 35.51 22.24 35.26 21.07 34.97 19.91 34.64 \
+18.75 34.25 17.6 33.82 16.46 33.35 15.34 32.84 14.23 32.29 13.13 31.69 12.06 31.06 11.01 30.39 9.98 29.69 8.98 28.96 8.01 28.2 7.08 \
+27.41 6.18 26.59 5.33 25.75 4.52 24.89 3.76 24.01 3.06 23.11 2.41 22.2 1.83 21.28 1.3 20.35 0.85 19.41 0.47 18.47 0.17 17.53 -0.05 \
+16.59 -0.19 15.65 -0.25 14.72 -0.21 13.8 -0.09 12.89 0.13 11.99 0.43 11.11 0.84 10.25 1.34 9.41 1.93 8.59 2.62 7.8 3.4 7.04 4.27 \
+6.31 5.24 5.61 6.29 4.94 7.43 4.31 8.65 3.71 9.94 3.16 11.31 2.65 12.75 2.18 14.26 1.75 15.82 1.36 17.44 1.03 19.1 0.74 20.79 0.49 \
+22.53 0.3 24.28 0.15 26.06 0.05 27.85 0 29.64 0 ",
+               height=0.5,
+               label="",
+               pos="28.743,18",
+               shape=egg,
+               width=0.79843];
+}
diff --git a/tests/regression_tests/shapes/reference/ellipse.xdot b/tests/regression_tests/shapes/reference/ellipse.xdot
new file mode 100644 (file)
index 0000000..d63f114
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 e 27 18 27 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=ellipse,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/fivepoverhang.xdot b/tests/regression_tests/shapes/reference/fivepoverhang.xdot
new file mode 100644 (file)
index 0000000..f6fb069
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 0 19.5 24 19.5 24 25.5 0 25.5 c 7 -#000000 p 4 12 10.5 24 10.5 24 16.5 12 16.5 c 7 -#000000 L 2 24 18 54 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=fivepoverhang,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/folder.xdot b/tests/regression_tests/shapes/reference/folder.xdot
new file mode 100644 (file)
index 0000000..0e4f681
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 7 54 36 51 40 30 40 27 36 0 36 0 0 54 0 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=folder,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/hexagon.xdot b/tests/regression_tests/shapes/reference/hexagon.xdot
new file mode 100644 (file)
index 0000000..c29ff22
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 6 54 18 40.5 36 13.5 36 0 18 13.5 0 40.5 0 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=hexagon,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/house.xdot b/tests/regression_tests/shapes/reference/house.xdot
new file mode 100644 (file)
index 0000000..b980009
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 5 54 23.56 27 36 0 23.56 0.03 3.44 53.97 3.44 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=house,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/insulator.xdot b/tests/regression_tests/shapes/reference/insulator.xdot
new file mode 100644 (file)
index 0000000..089d90d
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 33 24 33 12 21 12 21 24 c 7 -#000000 L 5 36 27 36 9 18 9 18 27 36 27 c 7 -#000000 L 2 36 18 54 18 c 7 -#000000 \
+L 2 0 18 18 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=insulator,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/invhouse.xdot b/tests/regression_tests/shapes/reference/invhouse.xdot
new file mode 100644 (file)
index 0000000..72e37cc
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 5 0 12.44 27 0 54 12.44 53.97 32.56 0.03 32.56 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=invhouse,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/invtrapezium.xdot b/tests/regression_tests/shapes/reference/invtrapezium.xdot
new file mode 100644 (file)
index 0000000..cc1fa4d
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 11.23 0 42.77 0 54 36 0 36 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=invtrapezium,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/invtriangle.xdot b/tests/regression_tests/shapes/reference/invtriangle.xdot
new file mode 100644 (file)
index 0000000..24b28dd
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 3 27 0 54 27 0 27 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=invtriangle,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/larrow.xdot b/tests/regression_tests/shapes/reference/larrow.xdot
new file mode 100644 (file)
index 0000000..2c16339
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 7 54 30 18 30 18 36 0 18 18 0 18 6 54 6 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=larrow,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/lpromoter.xdot b/tests/regression_tests/shapes/reference/lpromoter.xdot
new file mode 100644 (file)
index 0000000..e80711e
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 9 54 30 18 30 18 36 0 18 18 0 18 6 36 6 36 0 54 0 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=lpromoter,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/none.xdot b/tests/regression_tests/shapes/reference/none.xdot
new file mode 100644 (file)
index 0000000..9597d67
--- /dev/null
@@ -0,0 +1,12 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [height=0.5,
+               label="",
+               pos="27,18",
+               shape=none,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/note.xdot b/tests/regression_tests/shapes/reference/note.xdot
new file mode 100644 (file)
index 0000000..132f3b8
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 5 48 36 0 36 0 0 54 0 54 30 c 7 -#000000 L 2 48 36 48 30 c 7 -#000000 L 2 54 30 48 30 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=note,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/noverhang.xdot b/tests/regression_tests/shapes/reference/noverhang.xdot
new file mode 100644 (file)
index 0000000..d1cc362
--- /dev/null
@@ -0,0 +1,15 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 13.5 19.5 25.5 19.5 25.5 25.5 13.5 25.5 c 7 -#000000 p 4 13.5 10.5 25.5 10.5 25.5 16.5 13.5 16.5 c 7 -#000000 p \
+4 28.5 10.5 40.5 10.5 40.5 16.5 28.5 16.5 c 7 -#000000 p 4 28.5 19.5 40.5 19.5 40.5 25.5 28.5 25.5 c 7 -#000000 L 2 40.5 18 54 18 \
+c 7 -#000000 L 2 13.5 18 0 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=noverhang,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/octagon.xdot b/tests/regression_tests/shapes/reference/octagon.xdot
new file mode 100644 (file)
index 0000000..fb47748
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 8 54 10.54 54 25.46 38.18 36 15.82 36 0 25.46 0 10.54 15.82 0 38.18 0 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=octagon,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/oval.xdot b/tests/regression_tests/shapes/reference/oval.xdot
new file mode 100644 (file)
index 0000000..7b4ab1b
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 e 27 18 27 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=oval,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/parallelogram.xdot b/tests/regression_tests/shapes/reference/parallelogram.xdot
new file mode 100644 (file)
index 0000000..84ddff0
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 55.98 36 55.98 0 ",
+               bb="0,0,55.985,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 55.98 36 11.46 36 0.01 0 44.53 0 ",
+               height=0.5,
+               label="",
+               pos="27.992,18",
+               shape=parallelogram,
+               width=0.77756];
+}
diff --git a/tests/regression_tests/shapes/reference/pentagon.xdot b/tests/regression_tests/shapes/reference/pentagon.xdot
new file mode 100644 (file)
index 0000000..9bd3d9b
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 5 54 23.56 27 36 0 23.56 10.31 3.44 43.69 3.44 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=pentagon,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/plain.xdot b/tests/regression_tests/shapes/reference/plain.xdot
new file mode 100644 (file)
index 0000000..f2dc806
--- /dev/null
@@ -0,0 +1,12 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 0 0 0 0 0 ",
+               bb="0,0,0,0",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [height=0,
+               label="",
+               pos="0,0",
+               shape=plain,
+               width=0];
+}
diff --git a/tests/regression_tests/shapes/reference/plaintext.xdot b/tests/regression_tests/shapes/reference/plaintext.xdot
new file mode 100644 (file)
index 0000000..b18add5
--- /dev/null
@@ -0,0 +1,12 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [height=0.5,
+               label="",
+               pos="27,18",
+               shape=plaintext,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/point.xdot b/tests/regression_tests/shapes/reference/point.xdot
new file mode 100644 (file)
index 0000000..9effc96
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 3.6 3.6 3.6 3.6 0 ",
+               bb="0,0,3.6,3.6",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 C 7 -#000000 E 1.8 1.8 1.8 1.8 ",
+               height=0.05,
+               label="",
+               pos="1.8,1.8",
+               shape=point,
+               width=0.05];
+}
diff --git a/tests/regression_tests/shapes/reference/polygon.xdot b/tests/regression_tests/shapes/reference/polygon.xdot
new file mode 100644 (file)
index 0000000..9e48be6
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 54 36 0 36 0 0 54 0 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=polygon,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/primersite.xdot b/tests/regression_tests/shapes/reference/primersite.xdot
new file mode 100644 (file)
index 0000000..59592cd
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 5 39 21 27 33 27 27 13.5 27 13.5 21 c 7 -#000000 L 2 0 18 54 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=primersite,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/promoter.xdot b/tests/regression_tests/shapes/reference/promoter.xdot
new file mode 100644 (file)
index 0000000..253b173
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 9 33.75 36 13.5 36 13.5 18 19.5 18 19.5 30 33.75 30 33.75 27 45.75 33 33.75 39 c 7 -#000000 L 2 0 18 54 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=promoter,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/proteasesite.xdot b/tests/regression_tests/shapes/reference/proteasesite.xdot
new file mode 100644 (file)
index 0000000..90b6b04
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 16 30 24 30 25.5 28.5 27 30 28.5 30 30 28.5 30 27 28.5 25.5 30 24 30 24 28.5 25.5 27 24 25.5 24 24 25.5 24 27 25.5 \
+28.5 24 c 7 -#000000 L 2 27 25.5 27 18 c 7 -#000000 L 2 0 18 54 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=proteasesite,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/proteinstab.xdot b/tests/regression_tests/shapes/reference/proteinstab.xdot
new file mode 100644 (file)
index 0000000..fe44088
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 8 28.5 24 30 25.5 30 28.5 28.5 30 25.5 30 24 28.5 24 25.5 25.5 24 c 7 -#000000 L 2 27 24 27 18 c 7 -#000000 L 2 0 \
+18 54 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=proteinstab,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/rarrow.xdot b/tests/regression_tests/shapes/reference/rarrow.xdot
new file mode 100644 (file)
index 0000000..97b4a3f
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 7 36 30 0 30 0 6 36 6 36 0 54 18 36 36 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=rarrow,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/rect.xdot b/tests/regression_tests/shapes/reference/rect.xdot
new file mode 100644 (file)
index 0000000..2fdd082
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 54 36 0 36 0 0 54 0 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=rect,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/rectangle.xdot b/tests/regression_tests/shapes/reference/rectangle.xdot
new file mode 100644 (file)
index 0000000..ee8e8e1
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 54 36 0 36 0 0 54 0 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=rectangle,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/restrictionsite.xdot b/tests/regression_tests/shapes/reference/restrictionsite.xdot
new file mode 100644 (file)
index 0000000..2475686
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 8 39.75 21 20.25 21 20.25 27 14.25 27 14.25 15 33.75 15 33.75 9 39.75 9 c 7 -#000000 L 2 0 18 14.25 18 c 7 -#000000 \
+L 2 39.75 18 54 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=restrictionsite,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/ribosite.xdot b/tests/regression_tests/shapes/reference/ribosite.xdot
new file mode 100644 (file)
index 0000000..7f038b6
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 16 30 24 30 25.5 28.5 27 30 28.5 30 30 28.5 30 27 28.5 25.5 30 24 30 24 28.5 25.5 27 24 25.5 24 24 25.5 24 27 25.5 \
+28.5 24 c 7 -#000000 L 2 27 18 27 19.5 c 7 -#000000 L 2 27 21 27 22.5 c 7 -#000000 L 2 0 18 54 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=ribosite,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/rnastab.xdot b/tests/regression_tests/shapes/reference/rnastab.xdot
new file mode 100644 (file)
index 0000000..9decfe7
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 8 28.5 24 30 25.5 30 28.5 28.5 30 25.5 30 24 28.5 24 25.5 25.5 24 c 7 -#000000 L 2 27 18 27 19.5 c 7 -#000000 L 2 \
+27 21 27 22.5 c 7 -#000000 L 2 0 18 54 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=rnastab,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/rpromoter.xdot b/tests/regression_tests/shapes/reference/rpromoter.xdot
new file mode 100644 (file)
index 0000000..ae720ce
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 9 36 30 0 30 0 0 18 0 18 6 36 6 36 0 54 18 36 36 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=rpromoter,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/septagon.xdot b/tests/regression_tests/shapes/reference/septagon.xdot
new file mode 100644 (file)
index 0000000..0a292ce
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 7 54 13.99 48.65 29.22 27 36 5.35 29.22 0 13.99 14.98 1.78 39.02 1.78 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=septagon,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/signature.xdot b/tests/regression_tests/shapes/reference/signature.xdot
new file mode 100644 (file)
index 0000000..3704817
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 54 30 0 30 0 6 54 6 c 7 -#000000 L 2 3 19.5 6 16.5 c 7 -#000000 L 2 3 16.5 6 19.5 c 7 -#000000 L 2 3 9 51 9 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=signature,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/square.xdot b/tests/regression_tests/shapes/reference/square.xdot
new file mode 100644 (file)
index 0000000..b9f26e1
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 36 36 36 0 ",
+               bb="0,0,36,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 36 36 0 36 0 0 36 0 ",
+               height=0.5,
+               label="",
+               pos="18,18",
+               shape=square,
+               width=0.5];
+}
diff --git a/tests/regression_tests/shapes/reference/star.xdot b/tests/regression_tests/shapes/reference/star.xdot
new file mode 100644 (file)
index 0000000..fb0c22a
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 51.36 54 51.36 54 0 ",
+               bb="0,0,54,51.357",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 10 54 31.78 33.37 31.78 27 51.54 20.63 31.78 0 31.78 16.69 19.57 10.31 -0.18 27 12.03 43.69 -0.18 37.31 19.57 ",
+               height=0.71329,
+               label="",
+               pos="27,25.679",
+               shape=star,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/tab.xdot b/tests/regression_tests/shapes/reference/tab.xdot
new file mode 100644 (file)
index 0000000..a150cf9
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 6 54 36 12 36 12 40 0 40 0 0 54 0 c 7 -#000000 L 2 0 36 12 36 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=tab,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/terminator.xdot b/tests/regression_tests/shapes/reference/terminator.xdot
new file mode 100644 (file)
index 0000000..1c3fe57
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 8 30 18 30 24 36 24 36 30 18 30 18 24 24 24 24 18 c 7 -#000000 L 2 0 18 54 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=terminator,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/threepoverhang.xdot b/tests/regression_tests/shapes/reference/threepoverhang.xdot
new file mode 100644 (file)
index 0000000..1f24476
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 54 19.5 54 25.5 30 25.5 30 19.5 c 7 -#000000 p 4 42 10.5 42 16.5 30 16.5 30 10.5 c 7 -#000000 L 2 0 18 30 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=threepoverhang,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/trapezium.xdot b/tests/regression_tests/shapes/reference/trapezium.xdot
new file mode 100644 (file)
index 0000000..537de5a
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 4 42.77 36 11.23 36 0 0 54 0 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=trapezium,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/triangle.xdot b/tests/regression_tests/shapes/reference/triangle.xdot
new file mode 100644 (file)
index 0000000..d2acaec
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 3 27 36 0 9 54 9 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=triangle,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/tripleoctagon.xdot b/tests/regression_tests/shapes/reference/tripleoctagon.xdot
new file mode 100644 (file)
index 0000000..cbe55bc
--- /dev/null
@@ -0,0 +1,14 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 52 70 52 70 0 ",
+               bb="0,0,70,52",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 8 62 18.54 62 33.46 46.18 44 23.82 44 8 33.46 8 18.54 23.82 8 46.18 8 c 7 -#000000 p 8 66 16.4 66 35.6 47.39 48 22.61 \
+48 4 35.6 4 16.4 22.61 4 47.39 4 c 7 -#000000 p 8 70 14.26 70 37.74 48.61 52 21.39 52 0 37.74 0 14.26 21.39 0 48.61 0 ",
+               height=0.72222,
+               label="",
+               pos="35,26",
+               shape=tripleoctagon,
+               width=0.97222];
+}
diff --git a/tests/regression_tests/shapes/reference/underline.xdot b/tests/regression_tests/shapes/reference/underline.xdot
new file mode 100644 (file)
index 0000000..244e10b
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 9 -#fffffe00 p 4 54 36 0 36 0 0 54 0 c 7 -#000000 L 2 0 0 54 0 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=underline,
+               width=0.75];
+}
diff --git a/tests/regression_tests/shapes/reference/utr.xdot b/tests/regression_tests/shapes/reference/utr.xdot
new file mode 100644 (file)
index 0000000..4d73e5c
--- /dev/null
@@ -0,0 +1,13 @@
+graph G {
+       graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 36 54 36 54 0 ",
+               bb="0,0,54,36",
+               xdotversion=1.7
+       ];
+       node [label="\N"];
+       a        [_draw_="c 7 -#000000 p 6 36 18 36 21 30 27 24 27 18 21 18 18 c 7 -#000000 L 2 0 18 54 18 ",
+               height=0.5,
+               label="",
+               pos="27,18",
+               shape=utr,
+               width=0.75];
+}
index bcc77eceba1768a1bd423a2fdaab9891d02596c0..c514750b1d51d4e6c662c4896e74af1c0f72e09e 100644 (file)
@@ -72,7 +72,8 @@ shapes = [
 
 output_types = [
     'gv',
-    'svg'
+    'svg',
+    'xdot'
 ]
 
 def generate_shape_graph(shape, output_type):