Browse code

tests: Import Graphviz tests.

Jose Fonseca authored on 13/02/2016 23:53:31
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,29 @@
1
+digraph structs {
2
+    node [shape=plaintext]
3
+    struct1 [label=<
4
+<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
5
+  <TR><TD>left</TD><TD PORT="f1">mid dle</TD><TD PORT="f2">right</TD></TR>
6
+</TABLE>>];
7
+    struct2 [label=<
8
+<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
9
+  <TR><TD PORT="f0">one</TD><TD>two</TD></TR>
10
+</TABLE>>];
11
+    struct3 [label=<
12
+<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
13
+  <TR> 
14
+    <TD ROWSPAN="3">hello<BR/>world</TD>
15
+    <TD COLSPAN="3">b</TD>
16
+    <TD ROWSPAN="3">g</TD>
17
+    <TD ROWSPAN="3">h</TD>
18
+  </TR>
19
+  <TR>
20
+    <TD>c</TD><TD PORT="here">d</TD><TD>e</TD>
21
+  </TR>
22
+  <TR>
23
+    <TD COLSPAN="3">f</TD>
24
+  </TR>
25
+</TABLE>>];
26
+    struct1:f1 -> struct2:f0;
27
+    struct1:f2 -> struct3:here;
28
+}
29
+