| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE language [ |
| 3 |
<!ENTITY nodes "foldnode.|node.|"> |
| 4 |
<!ENTITY edges "foldedge.|edge.|"> |
| 5 |
]> |
| 6 |
<language name="GDL" version="6" kateversion="5.0" section="Scientific" extensions="*.gdl;*.vcg;*.GDL;*.VCG" mimetype="" author="Christoph Cullmann ([email protected])" license="MIT"> |
| 7 |
<highlighting> |
| 8 |
<list name="colors"> |
| 9 |
<item>white</item> |
| 10 |
<item>blue</item> |
| 11 |
<item>red</item> |
| 12 |
<item>green</item> |
| 13 |
<item>yellow</item> |
| 14 |
<item>magenta</item> |
| 15 |
<item>cyan</item> |
| 16 |
<item>darkgrey</item> |
| 17 |
<item>darkgray</item> |
| 18 |
<item>darkblue</item> |
| 19 |
<item>darkred</item> |
| 20 |
<item>darkgreen</item> |
| 21 |
<item>darkyellow</item> |
| 22 |
<item>darkmagenta</item> |
| 23 |
<item>darkcyan</item> |
| 24 |
<item>gold</item> |
| 25 |
<item>lightgrey</item> |
| 26 |
<item>lightgray</item> |
| 27 |
<item>lightblue</item> |
| 28 |
<item>lightred</item> |
| 29 |
<item>lightgreen</item> |
| 30 |
<item>lightyellow</item> |
| 31 |
<item>lightmagenta</item> |
| 32 |
<item>lightcyan</item> |
| 33 |
<item>lilac</item> |
| 34 |
<item>turquoise</item> |
| 35 |
<item>aquamarine</item> |
| 36 |
<item>khaki</item> |
| 37 |
<item>purple</item> |
| 38 |
<item>yellowgreen</item> |
| 39 |
<item>pink</item> |
| 40 |
<item>orange</item> |
| 41 |
<item>orchid</item> |
| 42 |
<item>black</item> |
| 43 |
</list> |
| 44 |
<list name="shapes"> |
| 45 |
<item>box</item> |
| 46 |
<item>triangle</item> |
| 47 |
<item>circle</item> |
| 48 |
<item>ellipse</item> |
| 49 |
<item>hexagon</item> |
| 50 |
<item>rhomb</item> |
| 51 |
<item>rhomboid</item> |
| 52 |
<item>trapeze</item> |
| 53 |
<item>uptrapeze</item> |
| 54 |
<item>trapezoid</item> |
| 55 |
<item>uptrapezoid</item> |
| 56 |
<item>lparallelogram</item> |
| 57 |
<item>rparallelogram</item> |
| 58 |
</list> |
| 59 |
<list name="states"> |
| 60 |
<item>unfolded</item> |
| 61 |
<item>folded</item> |
| 62 |
<item>boxed</item> |
| 63 |
<item>clustered</item> |
| 64 |
<item>wrapped</item> |
| 65 |
<item>exclusive</item> |
| 66 |
<item>white</item> |
| 67 |
</list> |
| 68 |
<list name="algorithms"> |
| 69 |
<item>normal</item> |
| 70 |
<item>tree</item> |
| 71 |
<item>forcedir</item> |
| 72 |
<item>dfs</item> |
| 73 |
<item>minbackward</item> |
| 74 |
<item>maxdepth</item> |
| 75 |
<item>maxdepthslow</item> |
| 76 |
<item>mindepth</item> |
| 77 |
<item>mindepthslow</item> |
| 78 |
<item>minindegree</item> |
| 79 |
<item>minoutdegree</item> |
| 80 |
<item>maxindegree</item> |
| 81 |
<item>maxoutdegree</item> |
| 82 |
<item>maxdegree</item> |
| 83 |
<item>mindegree</item> |
| 84 |
</list> |
| 85 |
<list name="forcedir"> |
| 86 |
<item>attraction</item> |
| 87 |
<item>repulsion</item> |
| 88 |
<item>randomfactor</item> |
| 89 |
<item>randomimpulse</item> |
| 90 |
<item>randomrounds</item> |
| 91 |
<item>tempscheme</item> |
| 92 |
<item>temptreshold</item> |
| 93 |
<item>tempmin</item> |
| 94 |
<item>tempmax</item> |
| 95 |
</list> |
| 96 |
<list name="magnetic"> |
| 97 |
<item>no</item> |
| 98 |
<item>polar</item> |
| 99 |
<item>circular</item> |
| 100 |
<item>polcircular</item> |
| 101 |
<item>orthogonal</item> |
| 102 |
</list> |
| 103 |
<list name="orientation"> |
| 104 |
<item>toptobottom</item> |
| 105 |
<item>bottomtotop</item> |
| 106 |
<item>lefttoright</item> |
| 107 |
<item>righttoleft</item> |
| 108 |
<item>top_to_bottom</item> |
| 109 |
<item>bottom_to_top</item> |
| 110 |
<item>left_to_right</item> |
| 111 |
<item>right_to_left</item> |
| 112 |
</list> |
| 113 |
<list name="lines"> |
| 114 |
<item>solid</item> |
| 115 |
<item>continuous</item> |
| 116 |
<item>dashed</item> |
| 117 |
<item>dotted</item> |
| 118 |
<item>double</item> |
| 119 |
<item>triple</item> |
| 120 |
<item>invisible</item> |
| 121 |
</list> |
| 122 |
<list name="fisheye"> |
| 123 |
<item>pfish</item> |
| 124 |
<item>cfish</item> |
| 125 |
<item>fpfish</item> |
| 126 |
<item>fcfish</item> |
| 127 |
<item>dpfish</item> |
| 128 |
<item>dcfish</item> |
| 129 |
</list> |
| 130 |
<contexts> |
| 131 |
<context name="default" attribute="Normal" lineEndContext="#stay"> |
| 132 |
<Detect2Chars attribute="Comment" context="ccomment" char="/" char1="/"/> |
| 133 |
<Detect2Chars attribute="Comment" context="cppcomment" char="/" char1="*" beginRegion="BlockComment"/> |
| 134 |
<StringDetect attribute="Keyword" context="#stay" String="focus"/> |
| 135 |
<RegExpr attribute="Keyword" context="#stay" String="(graph|edge|node|region|backedge|(left|right|)(bent|)nearedge):"/> |
| 136 |
<RegExpr attribute="Value" context="#stay" String="loc *:"/> |
| 137 |
<StringDetect attribute="Value" context="centry" String="colorentry"/> |
| 138 |
<RegExpr attribute="Value" context="arrowmode" String="arrow_?mode *:"/> |
| 139 |
<RegExpr attribute="Value" context="colorid" String="(&nodes;)(text|border|)color *:|(&edges;)(arrow|backarrow|)color *:"/> |
| 140 |
<RegExpr attribute="Value" context="arrow" String="(&edges;)(arrow|backarrow)style *:"/> |
| 141 |
<RegExpr attribute="Value" context="lineid" String="(&edges;)linestyle *:|(&nodes;)borderstyle *:"/> |
| 142 |
<RegExpr attribute="Value" context="fishid" String="view *:"/> |
| 143 |
<RegExpr attribute="Value" context="shapeid" String="(&nodes;)shape"/> |
| 144 |
<RegExpr attribute="Value" context="lquote" String="(source|target)(name|)|(title|(&nodes;&edges;)label|(&nodes;)info(1|2|3)|infoname(1|2|3)|useraction(name|cmd)(1|2|3|4)) *:"/> |
| 145 |
<RegExpr attribute="Value" context="fontlq" String="(&nodes;&edges;)fontname *:"/> |
| 146 |
<RegExpr attribute="Value" context="boolean" String="(crossing_?(optimization|phase2)|(dirty_edge_|display_edge_|displayedge|late_edge_|subgraph_?)labels|s?manhatt(a|e)n_?edges|(nodes|near_?edges|edges|splines) |equal(_y_|_?y)dist|(fast_?|)icons|fine_?tuning|(f?straight_?|priority_)phase|ignore_?singles|(in|out|)port_?sharing|linear_?segments|energetic) *:"/> |
| 147 |
<RegExpr attribute="Value" context="intval" String="(spreadlevel|(&nodes;&edges;)horizontal_?order|(&nodes;)(height|width|borderwidth|stretch|shrink)|(&edges;)(arrowsize|backarrowsize|thickness|class|priority)|anchor|iconcolors|hidden|layout_(up|down|near|spline)factor|border +(x|y)|splinefactor|(xspace|xbase|xmax|xraster|x|yspace|ybase|ymax|yraster|y|xlraster|xlspace)|magnetic_force(1|2)|(a|b|c|fd|p|r|s)(max)|(c|p|r)(min)) *:"/> |
| 148 |
<keyword attribute="Value" context="intval" String="forcedir"/> |
| 149 |
<StringDetect attribute="Value" context="classname" String="classname"/> |
| 150 |
<RegExpr attribute="Value" context="nodelevel" String="(&nodes;)(level|vertical_?order) *:"/> |
| 151 |
<RegExpr attribute="Value" context="stateid" String="stat(e|us) *:"/> |
| 152 |
<RegExpr attribute="Value" context="algid" String="layout_?algorithm *:"/> |
| 153 |
<RegExpr attribute="Value" context="orient" String="orientation *:"/> |
| 154 |
<RegExpr attribute="Value" context="nodealign" String="node_alignment *:"/> |
| 155 |
<RegExpr attribute="Value" context="textmode" String="(&nodes;)textmode *:"/> |
| 156 |
<RegExpr attribute="Value" context="weight" String="crossing_?weight *:"/> |
| 157 |
<RegExpr attribute="Value" context="floatval" String="(gravity|tempfactor|treefactor) *:"/> |
| 158 |
<RegExpr attribute="Value" context="magnor" String="magnetic_field(1|2) *:"/> |
| 159 |
<RegExpr attribute="Value" context="scaling" String="scaling *:"/> |
| 160 |
</context> |
| 161 |
<context name="string" attribute="String" lineEndContext="#stay"> |
| 162 |
<DetectChar attribute="String" context="default" char="""/> |
| 163 |
<Detect2Chars attribute="Char" context="#stay" char="\" char1="""/> |
| 164 |
<RegExpr attribute="Char" context="#stay" String="\\(n|a|t|b)|\\fi(0|1|2)[0-9][0-9]|\\f(u|I|b|B|n|[0-9][0-9])"/> |
| 165 |
</context> |
| 166 |
<context name="scaling" attribute="Normal" lineEndContext="#stay"> |
| 167 |
<StringDetect attribute="Datatype" context="default" String="maxspect"/> |
| 168 |
<Float attribute="Float" context="default"/> |
| 169 |
</context> |
| 170 |
<context name="ccomment" attribute="Comment" lineEndContext="default"> |
| 171 |
<DetectSpaces /> |
| 172 |
<IncludeRules context="##Comments"/> |
| 173 |
</context> |
| 174 |
<context name="cppcomment" attribute="Comment" lineEndContext="#stay"> |
| 175 |
<Detect2Chars attribute="Comment" context="default" char="*" char1="/" endRegion="BlockComment"/> |
| 176 |
<DetectSpaces /> |
| 177 |
<IncludeRules context="##Comments"/> |
| 178 |
</context> |
| 179 |
<context name="colorid" attribute="Normal" lineEndContext="#stay"> |
| 180 |
<keyword attribute="Datatype" context="default" String="colors"/> |
| 181 |
<RegExpr attribute="Datatype" context="default" String="[0-9][0-9]?"/> |
| 182 |
</context> |
| 183 |
<context name="shapeid" attribute="Normal" lineEndContext="#stay"> |
| 184 |
<keyword attribute="Datatype" context="default" String="shapes"/> |
| 185 |
</context> |
| 186 |
<context name="lquote" attribute="Normal" lineEndContext="#stay"> |
| 187 |
<DetectChar attribute="String" context="string" char="""/> |
| 188 |
</context> |
| 189 |
<context name="stateid" attribute="Normal" lineEndContext="#stay"> |
| 190 |
<keyword attribute="Datatype" context="default" String="states"/> |
| 191 |
</context> |
| 192 |
<context name="algid" attribute="Normal" lineEndContext="#stay"> |
| 193 |
<keyword attribute="Datatype" context="default" String="algorithms"/> |
| 194 |
</context> |
| 195 |
<context name="fishid" attribute="Normal" lineEndContext="#stay"> |
| 196 |
<keyword attribute="Datatype" context="default" String="fisheye"/> |
| 197 |
</context> |
| 198 |
<context name="boolean" attribute="Normal" lineEndContext="#stay"> |
| 199 |
<RegExpr attribute="Datatype" context="default" String="(yes|no)"/> |
| 200 |
</context> |
| 201 |
<context name="lineid" attribute="Normal" lineEndContext="#stay"> |
| 202 |
<keyword attribute="Datatype" context="default" String="lines"/> |
| 203 |
</context> |
| 204 |
<context name="intval" attribute="Normal" lineEndContext="#stay"> |
| 205 |
<Int attribute="Integer" context="longint"/> |
| 206 |
</context> |
| 207 |
<context name="longint" attribute="Normal" lineEndContext="default"> |
| 208 |
<Int attribute="Integer" context="longint"/> |
| 209 |
<DetectChar attribute="Normal" context="default" char=" "/> |
| 210 |
</context> |
| 211 |
<context name="centry" attribute="Normal" lineEndContext="default"> |
| 212 |
<RegExpr attribute="Value" context="cecolon" String="[0-9][0-9]?"/> |
| 213 |
</context> |
| 214 |
<context name="rgb" attribute="Normal" lineEndContext="#stay"> |
| 215 |
<RegExpr attribute="Integer" context="default" String="[0-9][0-9]?[0-9]? +[0-9][0-9]?[0-9]? +[0-9][0-9]?[0-9]?"/> |
| 216 |
</context> |
| 217 |
<context name="floatval" attribute="Normal" lineEndContext="#stay"> |
| 218 |
<Float attribute="Float" context="default"/> |
| 219 |
</context> |
| 220 |
<context name="fontlq" attribute="Normal" lineEndContext="#stay"> |
| 221 |
<DetectChar attribute="Datatype" context="fontbase" char="""/> |
| 222 |
</context> |
| 223 |
<context name="fontbase" attribute="Normal" lineEndContext="#stay"> |
| 224 |
<RegExpr attribute="Datatype" context="fontsize" String="((tim|ncen)(R|B|I|BI)|(cour|helv)(R|B|O|BO)|symb)"/> |
| 225 |
</context> |
| 226 |
<context name="fontsize" attribute="Normal" lineEndContext="#stay"> |
| 227 |
<RegExpr attribute="Datatype" context="#stay" String="(08|10|12|14|18|24)(.vcf|)"/> |
| 228 |
<DetectChar attribute="Datatype" context="default" char="""/> |
| 229 |
</context> |
| 230 |
<context name="arrow" attribute="Normal" lineEndContext="#stay"> |
| 231 |
<RegExpr attribute="Datatype" context="default" String="(solid|line|none)"/> |
| 232 |
</context> |
| 233 |
<context name="arrowmode" attribute="Normal" lineEndContext="#stay"> |
| 234 |
<RegExpr attribute="Datatype" context="default" String="(free|fixed)"/> |
| 235 |
</context> |
| 236 |
<context name="magnor" attribute="Normal" lineEndContext="#stay"> |
| 237 |
<keyword attribute="Datatype" context="default" String="magnetic"/> |
| 238 |
<keyword attribute="Datatype" context="default" String="orientation"/> |
| 239 |
</context> |
| 240 |
<context name="orient" attribute="Normal" lineEndContext="#stay"> |
| 241 |
<keyword attribute="Datatype" context="default" String="orientation"/> |
| 242 |
</context> |
| 243 |
<context name="nodealign" attribute="Normal" lineEndContext="#stay"> |
| 244 |
<RegExpr attribute="Datatype" context="default" String="(top|center|bottom)"/> |
| 245 |
</context> |
| 246 |
<context name="nodelevel" attribute="Normal" lineEndContext="#stay"> |
| 247 |
<StringDetect attribute="Datatype" context="default" String="maxlevel"/> |
| 248 |
<Int attribute="Integer" context="longint"/> |
| 249 |
</context> |
| 250 |
<context name="classname" attribute="Normal" lineEndContext="#stay"> |
| 251 |
<RegExpr attribute="Value" context="#stay" String="[0-9]+"/> |
| 252 |
<DetectChar attribute="Value" context="lquote" char=":"/> |
| 253 |
</context> |
| 254 |
<context name="cecolon" attribute="Normal" lineEndContext="#stay"> |
| 255 |
<DetectChar attribute="Value" context="rgb" char=":"/> |
| 256 |
</context> |
| 257 |
<context name="weight" attribute="Normal" lineEndContext="#stay"> |
| 258 |
<RegExpr attribute="Datatype" context="default" String="(medianbary|barymedian|bary|median)"/> |
| 259 |
</context> |
| 260 |
<context name="textmode" attribute="Normal" lineEndContext="#stay"> |
| 261 |
<RegExpr attribute="Datatype" context="default" String="(center|left_justify|right_justify)"/> |
| 262 |
</context> |
| 263 |
</contexts> |
| 264 |
<itemDatas> |
| 265 |
<itemData name="Normal" defStyleNum="dsNormal"/> |
| 266 |
<itemData name="String" defStyleNum="dsString"/> |
| 267 |
<itemData name="Char" defStyleNum="dsChar"/> |
| 268 |
<itemData name="Keyword" defStyleNum="dsKeyword"/> |
| 269 |
<itemData name="Integer" defStyleNum="dsDecVal"/> |
| 270 |
<itemData name="Datatype" defStyleNum="dsDataType"/> |
| 271 |
<itemData name="Comment" defStyleNum="dsComment"/> |
| 272 |
<itemData name="Value" defStyleNum="dsOthers"/> |
| 273 |
<itemData name="Float" defStyleNum="dsFloat"/> |
| 274 |
</itemDatas> |
| 275 |
</highlighting> |
| 276 |
<general> |
| 277 |
<comments> |
| 278 |
<comment name="singleLine" start="//" /> |
| 279 |
<comment name="multiLine" start="/*" end="*/" region="BlockComment"/> |
| 280 |
</comments> |
| 281 |
<keywords casesensitive="1"/> |
| 282 |
</general> |
| 283 |
</language> |
| 284 |
<!-- kate: replace-tabs on; tab-width 2; indent-width 2; --> |