-
Notifications
You must be signed in to change notification settings - Fork 171
/
Copy pathdot_test_schema.dot.hide_not_related_column.golden
22 lines (20 loc) · 1.42 KB
/
dot_test_schema.dot.hide_not_related_column.golden
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
digraph "testschema" {
// Config
graph [rankdir=TB, layout=dot, fontname="Arial"];
node [shape=record, fontsize=14, margin=0.6, fontname="Arial"];
edge [fontsize=10, labelfloat=false, splines=none, fontname="Arial"];
// Tables
"a" [shape=none, label=<<table border="0" cellborder="1" cellspacing="0" cellpadding="6">
<tr><td bgcolor="#EFEFEF"><font face="Arial Bold" point-size="18">a</font> <font color="#666666">[]</font></td></tr>
<tr><td port="a" align="left">a <font color="#666666">[INTEGER]</font></td></tr>
</table>>];
"b" [shape=none, label=<<table border="0" cellborder="1" cellspacing="0" cellpadding="6">
<tr><td bgcolor="#EFEFEF"><font face="Arial Bold" point-size="18">b</font> <font color="#666666">[]</font></td></tr>
<tr><td port="b" align="left">b <font color="#666666">[INTEGER]</font></td></tr>
</table>>];
"view" [shape=none, label=<<table border="0" cellborder="1" cellspacing="0" cellpadding="6">
<tr><td bgcolor="#EFEFEF"><font face="Arial Bold" point-size="18">view</font> <font color="#666666">[VIEW]</font></td></tr>
</table>>];
// Relations
"b":"b" -> "a":"a" [dir=back, arrowtail=crow, taillabel=<<table cellpadding="5" border="0" cellborder="0"><tr><td>FOREIGN KEY (b) REFERENCES a(a)</td></tr></table>>];
}