File: tkz-orm.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (223 lines) | stat: -rw-r--r-- 4,549 bytes parent folder | download | duplicates (2)
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
# tkz-orm package
# Matthew Bertucci 11/11/2021 for v0.1.4

#include:tikz

constraintcolor#B
ormconstraintcolor#B
ormdeonticcolor#B
ormimpliedcolor#B

#keyvals:\node#c
entity
value
power
power=
sequence
sequence=
roles
roles=%<number%>
role
role=%<number%>
vroles
vroles=%<number%>
vrole
vrole=%<number%>
relation
relationship
plays
#endkeyvals

#keyvals:\begin{tikzpicture}#c
every entity/.style={%<TikZ options%>}
every value/.style={%<TikZ options%>}
every object/.style={%<TikZ options%>}
every predicate/.style={%<TikZ options%>}
every relationship/.style={%<TikZ options%>}
every constraint/.style={%<TikZ options%>}
edge from parent/.style=#subtype,suptype
orm
orm-spacious
every orm line
#endkeyvals

\entity#/tikzpicture
\entity[options%keyvals]#/tikzpicture
\value#/tikzpicture
\value[options%keyvals]#/tikzpicture
\unary#/tikzpicture
\unary[options%keyvals]#/tikzpicture
\role#/tikzpicture
\role[options%keyvals]#/tikzpicture
\binary#/tikzpicture
\binary[options%keyvals]#/tikzpicture
\roles#/tikzpicture
\roles[options%keyvals]#/tikzpicture
\ternary#/tikzpicture
\ternary[options%keyvals]#/tikzpicture
\vunary#/tikzpicture
\vunary[options%keyvals]#/tikzpicture
\vrole#/tikzpicture
\vrole[options%keyvals]#/tikzpicture
\vbinary#/tikzpicture
\vbinary[options%keyvals]#/tikzpicture
\vroles#/tikzpicture
\vroles[options%keyvals]#/tikzpicture
\vternary#/tikzpicture
\vternary[options%keyvals]#/tikzpicture
\plays#/tikzpicture
\plays[options%keyvals]#/tikzpicture
\limits
\limits[options%keyvals]
\limitsto#/tikzpicture
\limitsto[options%keyvals]#/tikzpicture
\rules#/tikzpicture

#keyvals:\entity#c,\value#c,\unary#c,\role#c,\binary#c,\roles#c,\ternary#c,\vunary#c,\vrole#c,\vbinary#c,\vroles#c,\vternary#c,\plays#c,\limits#c,\limitsto#c
## line
dash pattern=%<dash pattern%>
dash phase=%<dash phase%>
dash=%<dash pattern%> phase %<dash phase%>
solid
dotted
dashed
dash dot
line width=##L
very thin
thin
semithick
thick
very thick
line cap=#round,rect,butt
line join=#round,bevel,miter
miter limit=%<factor%>
help lines
## node: shape, text, and position
anchor=
inner sep=##L
inner xsep=##L
inner ysep=##L
outer sep=##L
outer xsep=##L
outer ysep=##L
minimum height=##L
minimum width=##L
minimum size=##L
shape aspect=
text=%color
node font=
font=
text width=##L
align=#left,flush left,right,flush right,center,flush center,justify
text height=##L
text depth=##L
anchor=#north west,north,north east,west,center,east,mid west,mid,mid east,base west,base,base east,south west,south,south east,text
above=
below=
right=
left=
above=of %<node%>
below=of %<node%>
right=of %<node%>
left=of %<node%>
above left
above right
below left
below right
centered
pos=
midway
near start
near end
very near start
very near end
at start
at end
label=%<angle%>:%<text%>
## transformation
shift=%<coordinate%>
xshift=##L
yshift=##L
scale=%<scale%>
xscale=%<scale%>
yscale=%<scale%>
xslant=%<factor%>
yslant=%<factor%>
rotate=%<degree%>
rotate around={%<degree%>:coordinate}
### every xxx
every picture
every scope
every node
## others
->
<-
name path=
name=
sharp corners
rounded corners=##L
outline
color=#%color
#endkeyvals

#keyvals:\node#c,\entity#c,\value#c,\unary#c,\role#c,\binary#c,\roles#c,\ternary#c,\vunary#c,\vrole#c,\vbinary#c,\vroles#c,\vternary#c,\plays#c
role name
index=
unique
unique=
skip unique=
uniqueness bar
skipped uniqueness bar
constraint dot
cdot
constraint=#x,exclusive,unique,equal,mandatory,total required,or,preferred unique,subset,xor,partition,external,supset,irreflexive,antisymmetric,symmetric,intransitive,asymmetric,acyclic,purely reflexive,reflexive,strongly intransitive,acyclic intransitive,symmetric irreflexive,transitive,text
rule=%<mark%>
duplicated
implied
zoomed
mandatory
mdot-idot
odot-iodot
#endkeyvals

#keyvals:\draw#c
limits
limits to
subtype
suptype
subinterface
supinterface
both required
both mandatory
relation
relationship
uniqueness bar
skipped uniqueness bar
implied
#endkeyvals

\constraintdeclare{name}{path code}
\constraintdeclarealias{alias name}{existing name}
\constraintdeclareasnode{name}{TikZ code}#*

#keyvals:\begin{scope}#c
duplicated model
implied model
#endkeyvals

\ormtext
\ormbf
\ormc
\ormsup{text}
\ormsub{text}
\ormind{text}
\ormbraces{text}
\ormvalues{text}
\ormleft{text}
\ormup{text}

\tkzorm#*
\ormarrowup#*
\ormarrowdown#*
\ormarrowleft#*
\ormarrowright#*