generated from ivoa-std/doc-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathschema.texfig
141 lines (131 loc) · 3.24 KB
/
schema.texfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
% This is pstricks source for the figure; you'll not usually have to
% process this
\magnification 900
\input pstricks
\input pst-node
\nopagenumbers
\font\rm cmss10
\font\bf cmssbx10
\rm
\hsize=19cm
\def\figheight{14.5cm}
\newdimen\boxwidth
\boxwidth=4.2cm
\psset{linecolor=black,cornersize=absolute}
\outer\def\hamburger#1#2#3#4{\rnode{#2}{
\psframebox[linearc=5pt,fillstyle=solid,fillcolor=#1]{\vbox{\hsize=\boxwidth
\vskip 0.1cm
{\bf\strut #3}
\smallskip
\hrule
\medskip
#4
\smallskip
}}}}
\def\col{\item{$\cdot$}}
\noindent\line{%
\vbox to \figheight{\hsize=1.3\boxwidth
\hamburger{white}{schema}{res\_schema}{%
\col ivoid
\col schema\_description
}\vfil
\hamburger{white}{table}{res\_table}{%
\col table\_description
\col table\_name
\col table\_utype
}\vfil
\hamburger{white}{column}{table\_column}{%
\col name
\col ucd
\col unit
\col column\_description
\col utype
}\vfil
\hamburger{white}{relationship}{relationship}{%
\col relationship\_type
\col related\_id}\vfil
\hamburger{white}{temporal}{stc\_temporal}{%
\col time\_start
\col time\_end}%
}\hfil
\vbox to \figheight{\hsize=1.3\boxwidth
\hamburger{white}{role}{res\_role}{%
\col{role\_name}
\col{base\_role}}
\vfil
\hamburger{white}{identifier}{alt\_identifier}{%
\col alt\_identifier
}\vfil
\hamburger{white}{resource}{resource}{%
\col ivoid
\col res\_type
\col res\_title
\col updated
\col res\_description
\col creator\_seq
\col source\_value
\col waveband
}\vfil
\hamburger{white}{subject}{res\_subject}{%
\col ivoid
\col res\_subject
}\vfil
\hamburger{white}{date}{res\_date}{%
\col date\_value
\col date\_role
}\vfil
\hamburger{white}{spatial}{stc\_spatial}{%
\col coverage
}%
}\hfil
\vbox to \figheight{\hsize=1.3\boxwidth%
\hamburger{white}{capability}{capability}{%
\col standard\_id
\col cap\_type
}\vfil
\hamburger{white}{validation}{validation}{%
\col val\_level
\col validated\_by
}\vfil
\hamburger{white}{detail}{res\_detail}{%
\col detail\_xpath
\col detail\_value
}\vfil
\hamburger{white}{interface}{interface}{%
\col intf\_type
\col access\_url
}\vfil
\hamburger{white}{param}{intf\_param}{%
\col name
\col ucd
\col unit
\col param\_description
\col utype
}\vfil
\hamburger{white}{spectral}{stc\_spectral}{%
\col spectral\_start
\col spectral\_end
}%
}%
}
\psset{linecolor=gray,nodesep=4pt,linearc=0.1,arrowsize=2mm,armA=5mm}
\ncangles[angleB=0,offsetB=-2mm]{->}{role}{resource}
\ncangles[angleB=0,offsetB=-2mm]{->}{identifier}{resource}
\ncangles[angleA=180,angleB=180]{->}{identifier}{role}
\ncangles[offsetB=2mm]{->}{subject}{resource}
\ncangles[offsetB=2mm]{->}{date}{resource}
\ncangles[angleB=180,offsetB=2mm]{->}{schema}{resource}
\ncangles[angleB=180,angleA=180,offsetA=-2mm]{->}{table}{schema}
\ncangles[angleB=180,angleA=180,offsetB=-2mm]{->}{column}{table}
\ncangles[angleA=180]{->}{capability}{resource}
\ncangles[offsetA=2mm]{->}{interface}{capability}
\ncangles[offsetB=2mm]{->}{param}{interface}
\ncangles[angleB=180]{->}{relationship}{resource}
\ncangles[angleA=180]{->}{validation}{resource}
\ncangles{->}{validation}{capability}
\ncangles[angleA=180]{->}{detail}{resource}
\ncangles{->}{detail}{capability}
\ncangles{spatial}{resource}
\ncangles[angleA=180]{spectral}{resource}
\ncangles[angleB=180,offsetB=-2mm]{->}{temporal}{resource}
\bye