summaryrefslogtreecommitdiffstats
path: root/kate/data/gdl.xml
blob: 098a50a6f2066fdc64d3321d3a3488169354768d (plain)
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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="GDL" version="1.01" kateversion="2.0" section="Scientific" extensions="*.gdl;*.vcg;*.GDL;*.VCG" mimetype="">
 <highlighting>
  <list name="colors">
   <item> white </item>
   <item> blue </item>
   <item> red </item>
   <item> green </item>
   <item> yellow </item>
   <item> magenta </item>
   <item> cyan </item>
   <item> darkgrey </item>
   <item> darkgray </item>
   <item> darkblue </item>
   <item> darkred </item>
   <item> darkgreen </item>
   <item> darkyellow </item>
   <item> darkmagenta </item>
   <item> darkcyan </item>
   <item> gold </item>
   <item> lightgrey </item>
   <item> lightgray </item>
   <item> lightblue </item>
   <item> lightred </item>
   <item> lightgreen </item>
   <item> lightyellow </item>
   <item> lightmagenta </item>
   <item> lightcyan </item>
   <item> lilac </item>
   <item> turquoise </item>
   <item> aquamarine </item>
   <item> khaki </item>
   <item> purple </item>
   <item> yellowgreen </item>
   <item> pink </item>
   <item> orange </item>
   <item> orchid </item>
   <item> black </item>
  </list>
  <list name="tqshapes">
   <item> box </item>
   <item> triangle </item>
   <item> circle </item>
   <item> ellipse </item>
   <item> hexagon </item>
   <item> rhomb </item>
   <item> rhomboid </item>
   <item> trapeze </item>
   <item> uptrapeze </item>
   <item> trapezoid </item>
   <item> uptrapezoid </item>
   <item> lparallelogram </item>
   <item> rparallelogram </item>
  </list>
  <list name="states">
   <item> unfolded </item>
   <item> folded </item>
   <item> boxed </item>
   <item> clustered </item>
   <item> wrapped </item>
   <item> exclusive </item>
   <item> white </item>
  </list>
  <list name="algorithms">
   <item> normal </item>
   <item> tree </item>
   <item> forcedir </item>
   <item> dfs </item>
   <item> minbackward </item>
   <item> maxdepth </item>
   <item> maxdepthslow </item>
   <item> mindepth </item>
   <item> mindepthslow </item>
   <item> minindegree </item>
   <item> minoutdegree </item>
   <item> maxindegree </item>
   <item> maxoutdegree </item>
   <item> maxdegree </item>
   <item> mindegree </item>
  </list>
  <list name="forcedir">
   <item> attraction </item>
   <item> repulsion </item>
   <item> randomfactor </item>
   <item> randomimpulse </item>
   <item> randomrounds </item>
   <item> tempscheme </item>
   <item> temptreshold </item>
   <item> tempmin </item>
   <item> tempmax </item>
  </list>
  <list name="magnetic">
   <item> no </item>
   <item> polar </item>
   <item> circular </item>
   <item> polcircular </item>
   <item> orthogonal </item>
  </list>
  <list name="orientation">
   <item> toptobottom </item>
   <item> bottomtotop </item>
   <item> lefttoright </item>
   <item> righttoleft </item>
   <item> top_to_bottom </item>
   <item> bottom_to_top </item>
   <item> left_to_right </item>
   <item> right_to_left </item>
  </list>
  <list name="lines">
   <item> solid </item>
   <item> continuous </item>
   <item> dashed </item>
   <item> dotted </item>
   <item> double </item>
   <item> triple </item>
   <item> invisible </item>
  </list>
  <list name="fisheye">
   <item> pfish </item>
   <item> cfish </item>
   <item> fpfish </item>
   <item> fcfish </item>
   <item> dpfish </item>
   <item> dcfish </item>
  </list>
  <contexts>
   <context name="default" attribute="Normal" lineEndContext="#stay">
    <Detect2Chars attribute="Comment" context="ccomment" char="/" char1="/"/>
    <Detect2Chars attribute="Comment" context="cppcomment" char="/" char1="*"/>
    <StringDetect attribute="Keyword" context="#stay" String="focus"/>
    <RegExpr attribute="Keyword" context="#stay" String="(graph|edge|node|region|backedge|(left|right|)(bent|)nearedge):"/>
    <RegExpr attribute="Value" context="#stay" String="loc *:"/>
    <StringDetect attribute="Value" context="centry" String="colorentry"/>
    <RegExpr attribute="Value" context="arrowmode" String="arrow_?mode *:"/>
    <RegExpr attribute="Value" context="colorid" String="(foldnode.|node.|)(text|border|)color *:"/>
    <RegExpr attribute="Value" context="colorid" String="(foldedge.|edge.|)(arrow|backarrow|)color *:"/>
    <RegExpr attribute="Value" context="arrow" String="(foldedge.|edge.|)(arrow|backarrow)style *:"/>
    <RegExpr attribute="Value" context="lineid" String="(foldedge.|edge.|)linestyle *:"/>
    <RegExpr attribute="Value" context="lineid" String="(foldnode.|node.|)borderstyle *:"/>
    <RegExpr attribute="Value" context="fishid" String="view *:"/>
    <RegExpr attribute="Value" context="tqshapeid" String="(foldnode.|node.|)tqshape"/>
    <RegExpr attribute="Value" context="lquote" String="(source|target)(name|)"/>
    <RegExpr attribute="Value" context="lquote" String="title *:"/>
    <RegExpr attribute="Value" context="lquote" String="(foldnode.|node.|foldedge.|edge.|)label *:"/>
    <RegExpr attribute="Value" context="fontlq" String="(foldnode.|node.|foldedge.|edge.|)fontname *:"/>
    <RegExpr attribute="Value" context="lquote" String="infoname(1|2|3) *:"/>
    <RegExpr attribute="Value" context="lquote" String="(foldnode.|node.|)info(1|2|3) *:"/>
    <RegExpr attribute="Value" context="intval" String="spreadlevel *:"/>
    <RegExpr attribute="Value" context="nodelevel" String="(foldnode.|node.|)(level|vertical_?order) *:"/>
    <RegExpr attribute="Value" context="intval" String="(foldnode.|node.|foldedge.|edge.|)horizontal_?order *:"/>
    <RegExpr attribute="Value" context="stateid" String="stat(e|us) *:"/>
    <RegExpr attribute="Value" context="algid" String="tqlayout_?algorithm *:"/>
    <RegExpr attribute="Value" context="boolean" String="crossing_?optimization *:"/>
    <RegExpr attribute="Value" context="boolean" String="crossing_?phase2 *:"/>
    <RegExpr attribute="Value" context="boolean" String="(dirty_edge_|display_edge_|displayedge|late_edge_|subgraph_?)labels *:"/>
    <RegExpr attribute="Value" context="boolean" String="s?manhatt(a|e)n_?edges *:"/>
    <RegExpr attribute="Value" context="boolean" String="(nodes|near_?edges|edges|splines) *:"/>
    <RegExpr attribute="Value" context="classname" String="classname"/>
    <RegExpr attribute="Value" context="orient" String="orientation *:"/>
    <RegExpr attribute="Value" context="nodealign" String="node_tqalignment *:"/>
    <RegExpr attribute="Value" context="textmode" String="(foldnode.|node.|)textmode *:"/>
    <RegExpr attribute="Value" context="boolean" String="equal_y_dist *:"/>
    <RegExpr attribute="Value" context="boolean" String="equal_?ydist *:"/>
    <RegExpr attribute="Value" context="weight" String="crossing_?weight *:"/>
    <RegExpr attribute="Value" context="boolean" String="(fast_?|)icons *:"/>
    <RegExpr attribute="Value" context="boolean" String="fine_?tuning *:"/>
    <RegExpr attribute="Value" context="boolean" String="(f?straight_?|priority_)phase *:"/>
    <RegExpr attribute="Value" context="boolean" String="ignore_?singles *:"/>
    <RegExpr attribute="Value" context="boolean" String="(in|out|)port_?sharing *:"/>
    <RegExpr attribute="Value" context="boolean" String="linear_?segments *:"/>
    <RegExpr attribute="Value" context="intval" String="(foldnode.|node.|)(height|width|borderwidth|stretch|shrink) *:"/>
    <RegExpr attribute="Value" context="intval" String="(foldedge.|edge.|)(arrowsize|backarrowsize|thickness|class|priority) *:"/>
    <RegExpr attribute="Value" context="intval" String="anchor *:"/>
    <RegExpr attribute="Value" context="intval" String="iconcolors *:"/>
    <RegExpr attribute="Value" context="intval" String="hidden *:"/>
    <RegExpr attribute="Value" context="boolean" String="energetic *:"/>
    <RegExpr attribute="Value" context="intval" String="tqlayout_(up|down|near|spline)factor *:"/>
    <RegExpr attribute="Value" context="intval" String="border +(x|y) *:"/>
    <RegExpr attribute="Value" context="intval" String="splinefactor *:"/>
    <RegExpr attribute="Value" context="floatval" String="(gravity|tempfactor|treefactor) *:"/>
    <RegExpr attribute="Value" context="intval" String="(xspace|xbase|xmax|xraster|x) *:"/>
    <RegExpr attribute="Value" context="intval" String="(yspace|ybase|ymax|yraster|y) *:"/>
    <RegExpr attribute="Value" context="intval" String="(xlraster|xlspace) *:"/>
    <RegExpr attribute="Value" context="intval" String="magnetic_force(1|2) *:"/>
    <RegExpr attribute="Value" context="magnor" String="magnetic_field(1|2) *:"/>
    <RegExpr attribute="Value" context="intval" String="(a|b|c|fd|p|r|s)(max) *:"/>
    <RegExpr attribute="Value" context="intval" String="(c|p|r)(min) *:"/>
    <keyword attribute="Value" context="intval" String="forcedir"/>
    <RegExpr attribute="Value" context="scaling" String="scaling *:"/>
    <RegExpr attribute="Value" context="lquote" String="useraction(name|cmd)(1|2|3|4) *:"/>
   </context>
   <context name="string" attribute="String" lineEndContext="#stay">
    <DetectChar attribute="String" context="default" char="&quot;"/>
    <Detect2Chars attribute="Char" context="#stay" char="\" char1="&quot;"/>
    <RegExpr attribute="Char" context="#stay" String="\\(n|a|t|b)"/>
    <RegExpr attribute="Char" context="#stay" String="\\fi(0|1|2)[0-9][0-9]"/>
    <RegExpr attribute="Char" context="#stay" String="\\f(u|I|b|B|n|[0-9][0-9])"/>
   </context>
   <context name="scaling" attribute="Normal" lineEndContext="#stay">
    <StringDetect attribute="Datatype" context="default" String="maxspect"/>
    <Float attribute="Float" context="default"/>
   </context>
   <context name="ccomment" attribute="Comment" lineEndContext="default">
   </context>
   <context name="cppcomment" attribute="Comment" lineEndContext="#stay">
    <Detect2Chars attribute="Comment" context="default" char="*" char1="/"/>
   </context>
   <context name="colorid" attribute="Normal" lineEndContext="#stay">
    <keyword attribute="Datatype" context="default" String="colors"/>
    <RegExpr attribute="Datatype" context="default" String="[0-9][0-9]?"/>
   </context>
   <context name="tqshapeid" attribute="Normal" lineEndContext="#stay">
    <keyword attribute="Datatype" context="default" String="tqshapes"/>
   </context>
   <context name="lquote" attribute="Normal" lineEndContext="#stay">
    <DetectChar attribute="String" context="string" char="&quot;"/>
   </context>
   <context name="stateid" attribute="Normal" lineEndContext="#stay">
    <keyword attribute="Datatype" context="default" String="states"/>
   </context>
   <context name="algid" attribute="Normal" lineEndContext="#stay">
    <keyword attribute="Datatype" context="default" String="algorithms"/>
   </context>
   <context name="fishid" attribute="Normal" lineEndContext="#stay">
    <keyword attribute="Datatype" context="default" String="fisheye"/>
   </context>
   <context name="boolean" attribute="Normal" lineEndContext="#stay">
    <RegExpr attribute="Datatype" context="default" String="(yes|no)"/>
   </context>
   <context name="lineid" attribute="Normal" lineEndContext="#stay">
    <keyword attribute="Datatype" context="default" String="lines"/>
   </context>
   <context name="intval" attribute="Normal" lineEndContext="#stay">
    <Int attribute="Integer" context="longint"/>
   </context>
   <context name="longint" attribute="Normal" lineEndContext="default">
    <Int attribute="Integer" context="longint"/>
    <RegExpr attribute="Normal" context="default" String="\ "/>
   </context>
   <context name="centry" attribute="Normal" lineEndContext="default">
    <RegExpr attribute="Value" context="cecolon" String="[0-9][0-9]?"/>
   </context>
   <context name="rgb" attribute="Normal" lineEndContext="#stay">
    <RegExpr attribute="Integer" context="default" String="[0-9][0-9]?[0-9]? +[0-9][0-9]?[0-9]? +[0-9][0-9]?[0-9]?"/>
   </context>
   <context name="floatval" attribute="Normal" lineEndContext="#stay">
    <Float attribute="Float" context="default"/>
   </context>
   <context name="fontlq" attribute="Normal" lineEndContext="#stay">
    <DetectChar attribute="Datatype" context="fontbase" char="&quot;"/>
   </context>
   <context name="fontbase" attribute="Normal" lineEndContext="#stay">
    <RegExpr attribute="Datatype" context="fontsize" String="((tim|ncen)(R|B|I|BI)|(cour|helv)(R|B|O|BO)|symb)"/>
   </context>
   <context name="fontsize" attribute="Normal" lineEndContext="#stay">
    <RegExpr attribute="Datatype" context="#stay" String="(08|10|12|14|18|24)(.vcf|)"/>
    <DetectChar attribute="Datatype" context="default" char="&quot;"/>
   </context>
   <context name="arrow" attribute="Normal" lineEndContext="#stay">
    <RegExpr attribute="Datatype" context="default" String="(solid|line|none)"/>
   </context>
   <context name="arrowmode" attribute="Normal" lineEndContext="#stay">
    <RegExpr attribute="Datatype" context="default" String="(free|fixed)"/>
   </context>
   <context name="magnor" attribute="Normal" lineEndContext="#stay">
    <keyword attribute="Datatype" context="default" String="magnetic"/>
    <keyword attribute="Datatype" context="default" String="orientation"/>
   </context>
   <context name="orient" attribute="Normal" lineEndContext="#stay">
    <keyword attribute="Datatype" context="default" String="orientation"/>
   </context>
   <context name="nodealign" attribute="Normal" lineEndContext="#stay">
    <RegExpr attribute="Datatype" context="default" String="(top|center|bottom)"/>
   </context>
   <context name="nodelevel" attribute="Normal" lineEndContext="#stay">
    <StringDetect attribute="Datatype" context="default" String="maxlevel"/>
    <Int attribute="Integer" context="longint"/>
   </context>
   <context name="classname" attribute="Normal" lineEndContext="#stay">
    <RegExpr attribute="Value" context="#stay" String="[0-9]+"/>
    <DetectChar attribute="Value" context="lquote" char=":"/>
   </context>
   <context name="cecolon" attribute="Normal" lineEndContext="#stay">
    <DetectChar attribute="Value" context="rgb" char=":"/>
   </context>
   <context name="weight" attribute="Normal" lineEndContext="#stay">
    <RegExpr attribute="Datatype" context="default" String="(medianbary|barymedian|bary|median)"/>
   </context>
   <context name="textmode" attribute="Normal" lineEndContext="#stay">
    <RegExpr attribute="Datatype" context="default" String="(center|left_justify|right_justify)"/>
   </context>
  </contexts>
  <itemDatas>
   <itemData name="Normal" defStyleNum="dsNormal"/>
   <itemData name="String" defStyleNum="dsString"/>
   <itemData name="Char" defStyleNum="dsChar"/>
   <itemData name="Keyword" defStyleNum="dsKeyword"/>
   <itemData name="Integer" defStyleNum="dsDecVal"/>
   <itemData name="Datatype" defStyleNum="dsDataType"/>
   <itemData name="Comment" defStyleNum="dsComment"/>
   <itemData name="Value" defStyleNum="dsOthers"/>
   <itemData name="Float" defStyleNum="dsFloat"/>
  </itemDatas>
 </highlighting>
 <general>
  <comments>
   <comment name="singleLine" start="//" />
   <comment name="multiLine" start="/*" end="*/"/>
  </comments>
  <keywords casesensitive="1"/>
 </general>
</language>