]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.document.base.ontology/graph/ConnectionPoints.pgraph
Merge "Easier baselines"
[simantics/platform.git] / bundles / org.simantics.document.base.ontology / graph / ConnectionPoints.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 STR = <http://www.simantics.org/Structural-1.2>
3 DOC = <http://www.simantics.org/Documentation-1.2>
4 RELATIONS = <http://www.simantics.org/Documentation-1.2/Relations>
5 G2D = <http://www.simantics.org/G2D-1.1>
6 DIA = <http://www.simantics.org/Diagram-2.2>
7 MOD = <http://www.simantics.org/Modeling-1.2>
8
9
10 /*** Structure connections ***/
11 DOC.Document.ChildRelation <T STR.ConnectionRelation
12     >-- DOC.Document.ChildRelation.ordinal --> L0.String <R L0.HasProperty
13
14 DOC.Document.IsConnectedToChild <R STR.IsConnectedTo : DOC.Document.ChildRelation
15
16 DOC.ConnectionType : STR.ConnectionType
17     G2D.HasColor [0.8,0.64,0.0] : G2D.Color
18     G2D.HasStrokeType G2D.StrokeType.Scaling
19     G2D.HasStroke _ : G2D.Stroke
20         G2D.HasStrokeWidth 0.2 : L0.Float
21         G2D.HasLineCap G2D.LineCap.ButtCap
22         G2D.HasLineJoin G2D.LineJoin.MiterJoin
23     G2D.HasRounding 3.0
24     STR.HasConnectionConstraint
25         DOC.ParentToChildConstraint : DOC.RelationTypeConstraint
26             DOC.RelationTypeConstraint.Type1 RELATIONS.parentRelation
27             DOC.RelationTypeConstraint.Type2 RELATIONS.childRelation
28         DOC.NoSelfConnectionConstraint
29
30 DOC.RelationTypeConstraint <T STR.ConnectionConstraint
31     L0.HasDescription """Ensures that connections are type1-type2 or type2-type1."""
32     >-- DOC.RelationTypeConstraint.Type1 --> STR.ConnectionRelation <R L0.HasProperty : L0.FunctionalRelation
33     >-- DOC.RelationTypeConstraint.Type2 --> STR.ConnectionRelation <R L0.HasProperty : L0.FunctionalRelation
34
35 DOC.NoSelfConnectionConstraint : STR.ConnectionConstraint
36     L0.HasDescription """Ensures that elements cannot connect to themselves"""    
37
38
39 defChildConnectionPoint : L0.Template
40     @template %subject %ordinal
41         %subject <R DOC.Document.IsConnectedToChild
42             DOC.Document.ChildRelation.ordinal %ordinal
43             
44 RELATIONS.parentRelation <T L0.FunctionalRelation <T STR.ConnectionRelation
45     @L0.assert STR.AllowsConnectionType DOC.ConnectionType
46     @L0.assert MOD.ConnectionRelationToTerminal DOC.Terminals.ParentTerminal
47     @L0.assert STR.HasAttachmentRelation DIA.HasPlainConnector
48                 
49 RELATIONS.childRelation <T STR.ConnectionRelation
50     @L0.assert STR.AllowsConnectionType DOC.ConnectionType
51     @L0.assert MOD.ConnectionRelationToTerminal DOC.Terminals.ChildTerminal
52     @L0.assert STR.HasAttachmentRelation DIA.HasArrowConnector
53
54 RELATIONS.functionalChildRelation <T RELATIONS.childRelation <T L0.FunctionalRelation
55
56 RELATIONS.parent : RELATIONS.parentRelation <R STR.IsConnectedTo
57
58 RELATIONS.part1 : RELATIONS.functionalChildRelation
59     @defChildConnectionPoint "1"
60 RELATIONS.part2 : RELATIONS.functionalChildRelation
61     @defChildConnectionPoint "2"
62 RELATIONS.part3 : RELATIONS.functionalChildRelation
63     @defChildConnectionPoint "3"
64 RELATIONS.part4 : RELATIONS.functionalChildRelation
65     @defChildConnectionPoint "4"    
66 RELATIONS.part5 : RELATIONS.functionalChildRelation
67     @defChildConnectionPoint "5"  
68 RELATIONS.part6 : RELATIONS.functionalChildRelation
69     @defChildConnectionPoint "6"  
70 RELATIONS.part7 : RELATIONS.functionalChildRelation
71     @defChildConnectionPoint "7"  
72 RELATIONS.part8 : RELATIONS.functionalChildRelation
73     @defChildConnectionPoint "8"
74 RELATIONS.part9 : RELATIONS.functionalChildRelation
75     @defChildConnectionPoint "9"
76 RELATIONS.part10 : RELATIONS.functionalChildRelation
77     @defChildConnectionPoint "10"
78
79 RELATIONS.part11 : RELATIONS.functionalChildRelation
80     @defChildConnectionPoint "11"
81 RELATIONS.part12 : RELATIONS.functionalChildRelation
82     @defChildConnectionPoint "12"
83 RELATIONS.part13 : RELATIONS.functionalChildRelation
84     @defChildConnectionPoint "13"
85 RELATIONS.part14 : RELATIONS.functionalChildRelation
86     @defChildConnectionPoint "14"
87 RELATIONS.part15 : RELATIONS.functionalChildRelation
88     @defChildConnectionPoint "15"
89 RELATIONS.part16 : RELATIONS.functionalChildRelation
90     @defChildConnectionPoint "16"
91 RELATIONS.part17 : RELATIONS.functionalChildRelation
92     @defChildConnectionPoint "17"
93 RELATIONS.part18 : RELATIONS.functionalChildRelation
94     @defChildConnectionPoint "18"
95 RELATIONS.part19 : RELATIONS.functionalChildRelation
96     @defChildConnectionPoint "19"
97 RELATIONS.part20 : RELATIONS.functionalChildRelation
98     @defChildConnectionPoint "20"
99 RELATIONS.part21 : RELATIONS.functionalChildRelation
100     @defChildConnectionPoint "21"
101 RELATIONS.part22 : RELATIONS.functionalChildRelation
102     @defChildConnectionPoint "22"
103 RELATIONS.part23 : RELATIONS.functionalChildRelation
104     @defChildConnectionPoint "23"
105 RELATIONS.part24 : RELATIONS.functionalChildRelation
106     @defChildConnectionPoint "24"
107 RELATIONS.part25 : RELATIONS.functionalChildRelation
108     @defChildConnectionPoint "25"
109 RELATIONS.part26 : RELATIONS.functionalChildRelation
110     @defChildConnectionPoint "26"
111 RELATIONS.part27 : RELATIONS.functionalChildRelation
112     @defChildConnectionPoint "27"
113 RELATIONS.part28 : RELATIONS.functionalChildRelation
114     @defChildConnectionPoint "28"
115 RELATIONS.part29 : RELATIONS.functionalChildRelation
116     @defChildConnectionPoint "29"
117 RELATIONS.part30 : RELATIONS.functionalChildRelation
118     @defChildConnectionPoint "30"
119 RELATIONS.part31 : RELATIONS.functionalChildRelation
120     @defChildConnectionPoint "31"
121 RELATIONS.part32 : RELATIONS.functionalChildRelation
122     @defChildConnectionPoint "32"
123 RELATIONS.part33 : RELATIONS.functionalChildRelation
124     @defChildConnectionPoint "33"
125 RELATIONS.part34 : RELATIONS.functionalChildRelation
126     @defChildConnectionPoint "34"
127 RELATIONS.part35 : RELATIONS.functionalChildRelation
128     @defChildConnectionPoint "35"
129 RELATIONS.part36 : RELATIONS.functionalChildRelation
130     @defChildConnectionPoint "36"
131 RELATIONS.part37 : RELATIONS.functionalChildRelation
132     @defChildConnectionPoint "37"
133 RELATIONS.part38 : RELATIONS.functionalChildRelation
134     @defChildConnectionPoint "38"
135 RELATIONS.part39 : RELATIONS.functionalChildRelation
136     @defChildConnectionPoint "39"
137 RELATIONS.part40 : RELATIONS.functionalChildRelation
138     @defChildConnectionPoint "40"
139 RELATIONS.part41 : RELATIONS.functionalChildRelation
140     @defChildConnectionPoint "41"
141 RELATIONS.part42 : RELATIONS.functionalChildRelation
142     @defChildConnectionPoint "42"
143 RELATIONS.part43 : RELATIONS.functionalChildRelation
144     @defChildConnectionPoint "43"
145 RELATIONS.part44 : RELATIONS.functionalChildRelation
146     @defChildConnectionPoint "44"
147 RELATIONS.part45 : RELATIONS.functionalChildRelation
148     @defChildConnectionPoint "45"
149 RELATIONS.part46 : RELATIONS.functionalChildRelation
150     @defChildConnectionPoint "46"
151 RELATIONS.part47 : RELATIONS.functionalChildRelation
152     @defChildConnectionPoint "47"
153 RELATIONS.part48 : RELATIONS.functionalChildRelation
154     @defChildConnectionPoint "48"
155 RELATIONS.part49 : RELATIONS.functionalChildRelation
156     @defChildConnectionPoint "49"
157 RELATIONS.part50 : RELATIONS.functionalChildRelation
158     @defChildConnectionPoint "50"
159
160 RELATIONS.partN <R STR.IsConnectedTo : RELATIONS.childRelation
161     
162 /*** Command connections ***/
163 DOC.Document.CommandRelation <T STR.ConnectionRelation
164     >-- DOC.Document.CommandRelation.ordinal --> L0.String <R L0.HasProperty
165
166 DOC.Document.IsConnectedToCommand <R STR.IsConnectedTo : DOC.Document.CommandRelation
167
168 DOC.CommandConnectionType : STR.ConnectionType
169     G2D.HasColor [1.0,0.0,1.0] : G2D.Color
170     G2D.HasStrokeType G2D.StrokeType.Scaling
171     G2D.HasStroke _ : G2D.Stroke
172         G2D.HasStrokeWidth 0.2 : L0.Float
173         G2D.HasLineCap G2D.LineCap.ButtCap
174         G2D.HasLineJoin G2D.LineJoin.MiterJoin
175     G2D.HasRounding 3.0
176     STR.HasConnectionConstraint
177         DOC.CommandToCommandExecutorConstraint : DOC.RelationTypeConstraint
178             DOC.RelationTypeConstraint.Type1 RELATIONS.commandExecutorRelation
179             DOC.RelationTypeConstraint.Type2 RELATIONS.commandRelation        
180         DOC.NoSelfConnectionConstraint
181
182 defCommandExecutorConnectionPoint : L0.Template
183     @template %subject
184         %subject <R STR.IsConnectedTo
185
186 defCommandConnectionPoint : L0.Template
187     @template %subject %ordinal
188         %subject <R DOC.Document.IsConnectedToCommand
189             DOC.Document.CommandRelation.ordinal %ordinal
190             
191 RELATIONS.commandExecutorRelation <T STR.ConnectionRelation
192     @L0.assert STR.AllowsConnectionType DOC.CommandConnectionType
193     @L0.assert MOD.ConnectionRelationToTerminal DOC.Terminals.CommandExecutorTerminal
194     @L0.assert STR.HasAttachmentRelation DIA.HasArrowConnector
195     >-- RELATIONS.commandExecutorRelation.propagate --> "Boolean" <R L0.HasProperty : L0.FunctionalRelation
196     @L0.assert RELATIONS.commandExecutorRelation.propagate false 
197                 
198 RELATIONS.commandRelation <T L0.FunctionalRelation <T STR.ConnectionRelation
199     @L0.assert STR.AllowsConnectionType DOC.CommandConnectionType
200     @L0.assert MOD.ConnectionRelationToTerminal DOC.Terminals.CommandTerminal
201     @L0.assert STR.HasAttachmentRelation DIA.HasPlainConnector
202             
203 RELATIONS.click : RELATIONS.commandRelation
204     @defCommandConnectionPoint "1"
205     
206 RELATIONS.edit : RELATIONS.commandRelation
207     @defCommandConnectionPoint "2"
208
209 RELATIONS.load : RELATIONS.commandRelation
210     @defCommandConnectionPoint "3"
211
212 RELATIONS.trigger : RELATIONS.commandRelation
213     @defCommandConnectionPoint "4"
214
215 RELATIONS.select : RELATIONS.commandRelation
216     @defCommandConnectionPoint "5"    
217     
218 RELATIONS.valueChanged : RELATIONS.commandRelation
219     @defCommandConnectionPoint "6"
220     
221 RELATIONS.triggerTrue : RELATIONS.commandRelation
222     @defCommandConnectionPoint "7"       
223     
224 RELATIONS.triggerFalse : RELATIONS.commandRelation
225     @defCommandConnectionPoint "8"
226     
227 RELATIONS.uploaded : RELATIONS.commandRelation
228     @defCommandConnectionPoint "9"
229
230 RELATIONS.closed : RELATIONS.commandRelation
231     @defCommandConnectionPoint "10"
232
233 RELATIONS.enter : RELATIONS.commandRelation
234     @defCommandConnectionPoint "11"
235
236 RELATIONS.submit : RELATIONS.commandExecutorRelation
237     @defCommandExecutorConnectionPoint
238
239 RELATIONS.event : RELATIONS.commandExecutorRelation
240     @defCommandExecutorConnectionPoint
241     
242 RELATIONS.open : RELATIONS.commandExecutorRelation
243     @defCommandExecutorConnectionPoint
244
245 RELATIONS.close : RELATIONS.commandExecutorRelation
246     @defCommandExecutorConnectionPoint
247     
248 RELATIONS.sequenceTrigger : RELATIONS.commandExecutorRelation
249     @defCommandExecutorConnectionPoint
250     RELATIONS.commandExecutorRelation.propagate true    
251
252 RELATIONS.broadcast : RELATIONS.commandExecutorRelation
253     @defCommandExecutorConnectionPoint
254
255 RELATIONS.sequence1 : RELATIONS.commandRelation
256     @defCommandConnectionPoint "1"     
257
258 RELATIONS.sequence2 : RELATIONS.commandRelation
259     @defCommandConnectionPoint "2"
260
261 RELATIONS.sequence3 : RELATIONS.commandRelation
262     @defCommandConnectionPoint "3"
263
264 RELATIONS.sequence4 : RELATIONS.commandRelation
265     @defCommandConnectionPoint "4"
266
267 RELATIONS.sequence5 : RELATIONS.commandRelation
268     @defCommandConnectionPoint "5"
269
270 RELATIONS.sequence6 : RELATIONS.commandRelation
271     @defCommandConnectionPoint "6"
272
273 RELATIONS.sequence7 : RELATIONS.commandRelation
274     @defCommandConnectionPoint "7"
275
276 RELATIONS.sequence8 : RELATIONS.commandRelation
277     @defCommandConnectionPoint "8"
278
279 RELATIONS.sequence9 : RELATIONS.commandRelation
280     @defCommandConnectionPoint "9"
281
282 RELATIONS.sequence10 : RELATIONS.commandRelation
283     @defCommandConnectionPoint "10"
284
285 RELATIONS.sequence11 : RELATIONS.commandRelation
286    @defCommandConnectionPoint "11"
287 RELATIONS.sequence12 : RELATIONS.commandRelation
288    @defCommandConnectionPoint "12"   
289 RELATIONS.sequence13 : RELATIONS.commandRelation
290    @defCommandConnectionPoint "13"
291 RELATIONS.sequence14 : RELATIONS.commandRelation
292    @defCommandConnectionPoint "14"
293 RELATIONS.sequence15 : RELATIONS.commandRelation
294    @defCommandConnectionPoint "15"
295 RELATIONS.sequence16 : RELATIONS.commandRelation
296    @defCommandConnectionPoint "16"
297 RELATIONS.sequence17 : RELATIONS.commandRelation
298    @defCommandConnectionPoint "17"
299 RELATIONS.sequence18 : RELATIONS.commandRelation
300    @defCommandConnectionPoint "18"
301 RELATIONS.sequence19 : RELATIONS.commandRelation
302    @defCommandConnectionPoint "19"
303 RELATIONS.sequence20 : RELATIONS.commandRelation
304    @defCommandConnectionPoint "20"
305 RELATIONS.sequence21 : RELATIONS.commandRelation
306    @defCommandConnectionPoint "21"
307 RELATIONS.sequence22 : RELATIONS.commandRelation
308    @defCommandConnectionPoint "22"
309 RELATIONS.sequence23 : RELATIONS.commandRelation
310    @defCommandConnectionPoint "23"
311 RELATIONS.sequence24 : RELATIONS.commandRelation
312    @defCommandConnectionPoint "24"
313 RELATIONS.sequence25 : RELATIONS.commandRelation
314    @defCommandConnectionPoint "25"
315 RELATIONS.sequence26 : RELATIONS.commandRelation
316    @defCommandConnectionPoint "26"
317 RELATIONS.sequence27 : RELATIONS.commandRelation
318    @defCommandConnectionPoint "27"
319 RELATIONS.sequence28 : RELATIONS.commandRelation
320    @defCommandConnectionPoint "28"
321 RELATIONS.sequence29 : RELATIONS.commandRelation
322    @defCommandConnectionPoint "29"
323 RELATIONS.sequence30 : RELATIONS.commandRelation
324    @defCommandConnectionPoint "30"
325 RELATIONS.sequence31 : RELATIONS.commandRelation
326    @defCommandConnectionPoint "31"
327 RELATIONS.sequence32 : RELATIONS.commandRelation
328    @defCommandConnectionPoint "32"
329 RELATIONS.sequence33 : RELATIONS.commandRelation
330    @defCommandConnectionPoint "33"
331 RELATIONS.sequence34 : RELATIONS.commandRelation
332    @defCommandConnectionPoint "34"
333 RELATIONS.sequence35 : RELATIONS.commandRelation
334    @defCommandConnectionPoint "35"
335 RELATIONS.sequence36 : RELATIONS.commandRelation
336    @defCommandConnectionPoint "36"
337 RELATIONS.sequence37 : RELATIONS.commandRelation
338    @defCommandConnectionPoint "37"
339 RELATIONS.sequence38 : RELATIONS.commandRelation
340    @defCommandConnectionPoint "38"
341 RELATIONS.sequence39 : RELATIONS.commandRelation
342    @defCommandConnectionPoint "39"
343 RELATIONS.sequence40 : RELATIONS.commandRelation
344    @defCommandConnectionPoint "40"
345 RELATIONS.sequence41 : RELATIONS.commandRelation
346    @defCommandConnectionPoint "41"
347 RELATIONS.sequence42 : RELATIONS.commandRelation
348    @defCommandConnectionPoint "42"
349 RELATIONS.sequence43 : RELATIONS.commandRelation
350    @defCommandConnectionPoint "43"
351 RELATIONS.sequence44 : RELATIONS.commandRelation
352    @defCommandConnectionPoint "44"
353 RELATIONS.sequence45 : RELATIONS.commandRelation
354    @defCommandConnectionPoint "45"
355 RELATIONS.sequence46 : RELATIONS.commandRelation
356    @defCommandConnectionPoint "46"
357 RELATIONS.sequence47 : RELATIONS.commandRelation
358    @defCommandConnectionPoint "47"
359 RELATIONS.sequence48 : RELATIONS.commandRelation
360    @defCommandConnectionPoint "48"
361 RELATIONS.sequence49 : RELATIONS.commandRelation
362    @defCommandConnectionPoint "49"
363 RELATIONS.sequence50 : RELATIONS.commandRelation
364    @defCommandConnectionPoint "50"
365 RELATIONS.sequence51 : RELATIONS.commandRelation
366    @defCommandConnectionPoint "51"
367 RELATIONS.sequence52 : RELATIONS.commandRelation
368    @defCommandConnectionPoint "52"
369 RELATIONS.sequence53 : RELATIONS.commandRelation
370    @defCommandConnectionPoint "53"
371 RELATIONS.sequence54 : RELATIONS.commandRelation
372    @defCommandConnectionPoint "54"
373 RELATIONS.sequence55 : RELATIONS.commandRelation
374    @defCommandConnectionPoint "55"
375 RELATIONS.sequence56 : RELATIONS.commandRelation
376    @defCommandConnectionPoint "56"
377 RELATIONS.sequence57 : RELATIONS.commandRelation
378    @defCommandConnectionPoint "57"
379 RELATIONS.sequence58 : RELATIONS.commandRelation
380    @defCommandConnectionPoint "58"
381 RELATIONS.sequence59 : RELATIONS.commandRelation
382    @defCommandConnectionPoint "59"
383 RELATIONS.sequence60 : RELATIONS.commandRelation
384    @defCommandConnectionPoint "60"
385 RELATIONS.sequence61 : RELATIONS.commandRelation
386    @defCommandConnectionPoint "61"
387 RELATIONS.sequence62 : RELATIONS.commandRelation
388    @defCommandConnectionPoint "62"
389 RELATIONS.sequence63 : RELATIONS.commandRelation
390    @defCommandConnectionPoint "63"
391 RELATIONS.sequence64 : RELATIONS.commandRelation
392    @defCommandConnectionPoint "64"
393 RELATIONS.sequence65 : RELATIONS.commandRelation
394    @defCommandConnectionPoint "65"
395 RELATIONS.sequence66 : RELATIONS.commandRelation
396    @defCommandConnectionPoint "66"
397 RELATIONS.sequence67 : RELATIONS.commandRelation
398    @defCommandConnectionPoint "67"
399 RELATIONS.sequence68 : RELATIONS.commandRelation
400    @defCommandConnectionPoint "68"
401 RELATIONS.sequence69 : RELATIONS.commandRelation
402    @defCommandConnectionPoint "69"
403 RELATIONS.sequence70 : RELATIONS.commandRelation
404    @defCommandConnectionPoint "70"
405 RELATIONS.sequence71 : RELATIONS.commandRelation
406    @defCommandConnectionPoint "71"
407 RELATIONS.sequence72 : RELATIONS.commandRelation
408    @defCommandConnectionPoint "72"
409 RELATIONS.sequence73 : RELATIONS.commandRelation
410    @defCommandConnectionPoint "73"
411 RELATIONS.sequence74 : RELATIONS.commandRelation
412    @defCommandConnectionPoint "74"
413 RELATIONS.sequence75 : RELATIONS.commandRelation
414    @defCommandConnectionPoint "75"
415 RELATIONS.sequence76 : RELATIONS.commandRelation
416    @defCommandConnectionPoint "76"
417 RELATIONS.sequence77 : RELATIONS.commandRelation
418    @defCommandConnectionPoint "77"
419 RELATIONS.sequence78 : RELATIONS.commandRelation
420    @defCommandConnectionPoint "78"
421 RELATIONS.sequence79 : RELATIONS.commandRelation
422    @defCommandConnectionPoint "79"
423 RELATIONS.sequence80 : RELATIONS.commandRelation
424    @defCommandConnectionPoint "80"
425 RELATIONS.sequence81 : RELATIONS.commandRelation
426    @defCommandConnectionPoint "81"
427 RELATIONS.sequence82 : RELATIONS.commandRelation
428    @defCommandConnectionPoint "82"
429 RELATIONS.sequence83 : RELATIONS.commandRelation
430    @defCommandConnectionPoint "83"
431 RELATIONS.sequence84 : RELATIONS.commandRelation
432    @defCommandConnectionPoint "84"
433 RELATIONS.sequence85 : RELATIONS.commandRelation
434    @defCommandConnectionPoint "85"
435 RELATIONS.sequence86 : RELATIONS.commandRelation
436    @defCommandConnectionPoint "86"
437 RELATIONS.sequence87 : RELATIONS.commandRelation
438    @defCommandConnectionPoint "87"
439 RELATIONS.sequence88 : RELATIONS.commandRelation
440    @defCommandConnectionPoint "88"
441 RELATIONS.sequence89 : RELATIONS.commandRelation
442    @defCommandConnectionPoint "89"
443 RELATIONS.sequence90 : RELATIONS.commandRelation
444    @defCommandConnectionPoint "90"
445 RELATIONS.sequence91 : RELATIONS.commandRelation
446    @defCommandConnectionPoint "91"
447 RELATIONS.sequence92 : RELATIONS.commandRelation
448    @defCommandConnectionPoint "92"
449 RELATIONS.sequence93 : RELATIONS.commandRelation
450    @defCommandConnectionPoint "93"
451 RELATIONS.sequence94 : RELATIONS.commandRelation
452    @defCommandConnectionPoint "94"
453 RELATIONS.sequence95 : RELATIONS.commandRelation
454    @defCommandConnectionPoint "95"
455 RELATIONS.sequence96 : RELATIONS.commandRelation
456    @defCommandConnectionPoint "96"
457 RELATIONS.sequence97 : RELATIONS.commandRelation
458    @defCommandConnectionPoint "97"
459 RELATIONS.sequence98 : RELATIONS.commandRelation
460    @defCommandConnectionPoint "98"
461 RELATIONS.sequence99 : RELATIONS.commandRelation
462    @defCommandConnectionPoint "99"
463 RELATIONS.sequence100 : RELATIONS.commandRelation
464    @defCommandConnectionPoint "100"
465 RELATIONS.sequence101 : RELATIONS.commandRelation
466    @defCommandConnectionPoint "101"
467 RELATIONS.sequence102 : RELATIONS.commandRelation
468    @defCommandConnectionPoint "102"
469 RELATIONS.sequence103 : RELATIONS.commandRelation
470    @defCommandConnectionPoint "103"
471 RELATIONS.sequence104 : RELATIONS.commandRelation
472    @defCommandConnectionPoint "104"
473 RELATIONS.sequence105 : RELATIONS.commandRelation
474    @defCommandConnectionPoint "105"
475 RELATIONS.sequence106 : RELATIONS.commandRelation
476    @defCommandConnectionPoint "106"
477 RELATIONS.sequence107 : RELATIONS.commandRelation
478    @defCommandConnectionPoint "107"
479 RELATIONS.sequence108 : RELATIONS.commandRelation
480    @defCommandConnectionPoint "108"
481 RELATIONS.sequence109 : RELATIONS.commandRelation
482    @defCommandConnectionPoint "109"
483 RELATIONS.sequence110 : RELATIONS.commandRelation
484    @defCommandConnectionPoint "110"
485 RELATIONS.sequence111 : RELATIONS.commandRelation
486    @defCommandConnectionPoint "111"
487 RELATIONS.sequence112 : RELATIONS.commandRelation
488    @defCommandConnectionPoint "112"
489 RELATIONS.sequence113 : RELATIONS.commandRelation
490    @defCommandConnectionPoint "113"
491 RELATIONS.sequence114 : RELATIONS.commandRelation
492    @defCommandConnectionPoint "114"
493 RELATIONS.sequence115 : RELATIONS.commandRelation
494    @defCommandConnectionPoint "115"
495 RELATIONS.sequence116 : RELATIONS.commandRelation
496    @defCommandConnectionPoint "116"
497 RELATIONS.sequence117 : RELATIONS.commandRelation
498    @defCommandConnectionPoint "117"
499 RELATIONS.sequence118 : RELATIONS.commandRelation
500    @defCommandConnectionPoint "118"
501 RELATIONS.sequence119 : RELATIONS.commandRelation
502    @defCommandConnectionPoint "119"
503 RELATIONS.sequence120 : RELATIONS.commandRelation
504    @defCommandConnectionPoint "120"
505 RELATIONS.sequence121 : RELATIONS.commandRelation
506    @defCommandConnectionPoint "121"
507 RELATIONS.sequence122 : RELATIONS.commandRelation
508    @defCommandConnectionPoint "122"
509 RELATIONS.sequence123 : RELATIONS.commandRelation
510    @defCommandConnectionPoint "123"
511 RELATIONS.sequence124 : RELATIONS.commandRelation
512    @defCommandConnectionPoint "124"
513 RELATIONS.sequence125 : RELATIONS.commandRelation
514    @defCommandConnectionPoint "125"
515 RELATIONS.sequence126 : RELATIONS.commandRelation
516    @defCommandConnectionPoint "126"
517 RELATIONS.sequence127 : RELATIONS.commandRelation
518    @defCommandConnectionPoint "127"
519 RELATIONS.sequence128 : RELATIONS.commandRelation
520    @defCommandConnectionPoint "128"
521 RELATIONS.sequence129 : RELATIONS.commandRelation
522    @defCommandConnectionPoint "129"
523 RELATIONS.sequence130 : RELATIONS.commandRelation
524    @defCommandConnectionPoint "130"
525 RELATIONS.sequence131 : RELATIONS.commandRelation
526    @defCommandConnectionPoint "131"
527 RELATIONS.sequence132 : RELATIONS.commandRelation
528    @defCommandConnectionPoint "132"
529 RELATIONS.sequence133 : RELATIONS.commandRelation
530    @defCommandConnectionPoint "133"
531 RELATIONS.sequence134 : RELATIONS.commandRelation
532    @defCommandConnectionPoint "134"
533 RELATIONS.sequence135 : RELATIONS.commandRelation
534    @defCommandConnectionPoint "135"
535 RELATIONS.sequence136 : RELATIONS.commandRelation
536    @defCommandConnectionPoint "136"
537 RELATIONS.sequence137 : RELATIONS.commandRelation
538    @defCommandConnectionPoint "137"
539 RELATIONS.sequence138 : RELATIONS.commandRelation
540    @defCommandConnectionPoint "138"
541 RELATIONS.sequence139 : RELATIONS.commandRelation
542    @defCommandConnectionPoint "139"
543 RELATIONS.sequence140 : RELATIONS.commandRelation
544    @defCommandConnectionPoint "140"
545 RELATIONS.sequence141 : RELATIONS.commandRelation
546    @defCommandConnectionPoint "141"
547 RELATIONS.sequence142 : RELATIONS.commandRelation
548    @defCommandConnectionPoint "142"
549 RELATIONS.sequence143 : RELATIONS.commandRelation
550    @defCommandConnectionPoint "143"
551 RELATIONS.sequence144 : RELATIONS.commandRelation
552    @defCommandConnectionPoint "144"
553 RELATIONS.sequence145 : RELATIONS.commandRelation
554    @defCommandConnectionPoint "145"
555 RELATIONS.sequence146 : RELATIONS.commandRelation
556    @defCommandConnectionPoint "146"
557 RELATIONS.sequence147 : RELATIONS.commandRelation
558    @defCommandConnectionPoint "147"
559 RELATIONS.sequence148 : RELATIONS.commandRelation
560    @defCommandConnectionPoint "148"
561 RELATIONS.sequence149 : RELATIONS.commandRelation
562    @defCommandConnectionPoint "149"
563 RELATIONS.sequence150 : RELATIONS.commandRelation
564    @defCommandConnectionPoint "150"
565 RELATIONS.sequence151 : RELATIONS.commandRelation
566    @defCommandConnectionPoint "151"
567 RELATIONS.sequence152 : RELATIONS.commandRelation
568    @defCommandConnectionPoint "152"
569 RELATIONS.sequence153 : RELATIONS.commandRelation
570    @defCommandConnectionPoint "153"
571 RELATIONS.sequence154 : RELATIONS.commandRelation
572    @defCommandConnectionPoint "154"
573 RELATIONS.sequence155 : RELATIONS.commandRelation
574    @defCommandConnectionPoint "155"
575 RELATIONS.sequence156 : RELATIONS.commandRelation
576    @defCommandConnectionPoint "156"
577 RELATIONS.sequence157 : RELATIONS.commandRelation
578    @defCommandConnectionPoint "157"
579 RELATIONS.sequence158 : RELATIONS.commandRelation
580    @defCommandConnectionPoint "158"
581 RELATIONS.sequence159 : RELATIONS.commandRelation
582    @defCommandConnectionPoint "159"
583 RELATIONS.sequence160 : RELATIONS.commandRelation
584    @defCommandConnectionPoint "160"
585 RELATIONS.sequence161 : RELATIONS.commandRelation
586    @defCommandConnectionPoint "161"
587 RELATIONS.sequence162 : RELATIONS.commandRelation
588    @defCommandConnectionPoint "162"
589 RELATIONS.sequence163 : RELATIONS.commandRelation
590    @defCommandConnectionPoint "163"
591 RELATIONS.sequence164 : RELATIONS.commandRelation
592    @defCommandConnectionPoint "164"
593 RELATIONS.sequence165 : RELATIONS.commandRelation
594    @defCommandConnectionPoint "165"
595 RELATIONS.sequence166 : RELATIONS.commandRelation
596    @defCommandConnectionPoint "166"
597 RELATIONS.sequence167 : RELATIONS.commandRelation
598    @defCommandConnectionPoint "167"
599 RELATIONS.sequence168 : RELATIONS.commandRelation
600    @defCommandConnectionPoint "168"
601 RELATIONS.sequence169 : RELATIONS.commandRelation
602    @defCommandConnectionPoint "169"
603 RELATIONS.sequence170 : RELATIONS.commandRelation
604    @defCommandConnectionPoint "170"
605 RELATIONS.sequence171 : RELATIONS.commandRelation
606    @defCommandConnectionPoint "171"
607 RELATIONS.sequence172 : RELATIONS.commandRelation
608    @defCommandConnectionPoint "172"
609 RELATIONS.sequence173 : RELATIONS.commandRelation
610    @defCommandConnectionPoint "173"
611 RELATIONS.sequence174 : RELATIONS.commandRelation
612    @defCommandConnectionPoint "174"
613 RELATIONS.sequence175 : RELATIONS.commandRelation
614    @defCommandConnectionPoint "175"
615 RELATIONS.sequence176 : RELATIONS.commandRelation
616    @defCommandConnectionPoint "176"
617 RELATIONS.sequence177 : RELATIONS.commandRelation
618    @defCommandConnectionPoint "177"
619 RELATIONS.sequence178 : RELATIONS.commandRelation
620    @defCommandConnectionPoint "178"
621 RELATIONS.sequence179 : RELATIONS.commandRelation
622    @defCommandConnectionPoint "179"
623 RELATIONS.sequence180 : RELATIONS.commandRelation
624    @defCommandConnectionPoint "180"
625 RELATIONS.sequence181 : RELATIONS.commandRelation
626    @defCommandConnectionPoint "181"
627 RELATIONS.sequence182 : RELATIONS.commandRelation
628    @defCommandConnectionPoint "182"
629 RELATIONS.sequence183 : RELATIONS.commandRelation
630    @defCommandConnectionPoint "183"
631 RELATIONS.sequence184 : RELATIONS.commandRelation
632    @defCommandConnectionPoint "184"
633 RELATIONS.sequence185 : RELATIONS.commandRelation
634    @defCommandConnectionPoint "185"
635 RELATIONS.sequence186 : RELATIONS.commandRelation
636    @defCommandConnectionPoint "186"
637 RELATIONS.sequence187 : RELATIONS.commandRelation
638    @defCommandConnectionPoint "187"
639 RELATIONS.sequence188 : RELATIONS.commandRelation
640    @defCommandConnectionPoint "188"
641 RELATIONS.sequence189 : RELATIONS.commandRelation
642    @defCommandConnectionPoint "189"
643 RELATIONS.sequence190 : RELATIONS.commandRelation
644    @defCommandConnectionPoint "190"
645 RELATIONS.sequence191 : RELATIONS.commandRelation
646    @defCommandConnectionPoint "191"
647 RELATIONS.sequence192 : RELATIONS.commandRelation
648    @defCommandConnectionPoint "192"
649 RELATIONS.sequence193 : RELATIONS.commandRelation
650    @defCommandConnectionPoint "193"
651 RELATIONS.sequence194 : RELATIONS.commandRelation
652    @defCommandConnectionPoint "194"
653 RELATIONS.sequence195 : RELATIONS.commandRelation
654    @defCommandConnectionPoint "195"
655 RELATIONS.sequence196 : RELATIONS.commandRelation
656    @defCommandConnectionPoint "196"
657 RELATIONS.sequence197 : RELATIONS.commandRelation
658    @defCommandConnectionPoint "197"
659 RELATIONS.sequence198 : RELATIONS.commandRelation
660    @defCommandConnectionPoint "198"
661 RELATIONS.sequence199 : RELATIONS.commandRelation
662    @defCommandConnectionPoint "199"
663 RELATIONS.sequence200 : RELATIONS.commandRelation
664    @defCommandConnectionPoint "200"
665     
666 RELATIONS.broadcasted : RELATIONS.commandRelation
667     @defCommandConnectionPoint "1"
668
669 RELATIONS.eventIn : RELATIONS.commandExecutorRelation
670     @defCommandExecutorConnectionPoint
671
672 RELATIONS.eventOut : RELATIONS.commandRelation
673     @defCommandConnectionPoint "1"
674     
675 /*** Data connections ***/
676 DOC.Document.DataRelation <T STR.ConnectionRelation
677 DOC.Document.IsConnectedToData <R STR.IsConnectedTo : DOC.Document.DataRelation
678
679 DOC.DataStroke : G2D.Stroke
680     G2D.HasDashArray [1.0, 0.5] : L0.FloatArray
681     G2D.HasStrokeWidth 0.2 : L0.Float
682     G2D.HasLineCap G2D.LineCap.ButtCap
683     G2D.HasLineJoin G2D.LineJoin.MiterJoin
684
685 DOC.DataConnectionType : STR.ConnectionType
686     G2D.HasColor [0,0.65,1.0] : G2D.Color
687     G2D.HasStrokeType G2D.StrokeType.Scaling
688     G2D.HasStroke DOC.DataStroke
689     G2D.HasRounding 3.0
690     STR.HasConnectionConstraint
691         DOC.DataProviderToDataConsumerConstraint : DOC.RelationTypeConstraint
692             DOC.RelationTypeConstraint.Type1 RELATIONS.dataProviderRelation
693             DOC.RelationTypeConstraint.Type2 RELATIONS.dataConsumerRelation  
694         DOC.NoSelfConnectionConstraint
695             
696 defDataProviderConnectionPoint : L0.Template
697     @template %subject
698         %subject <R STR.IsConnectedTo
699
700 defDataConsumerConnectionPoint : L0.Template
701     @template %subject
702         %subject <R DOC.Document.IsConnectedToData
703             
704 RELATIONS.dataProviderRelation <T STR.ConnectionRelation
705     @L0.assert STR.AllowsConnectionType DOC.DataConnectionType
706     @L0.assert MOD.ConnectionRelationToTerminal DOC.Terminals.DataProviderTerminal
707     @L0.assert STR.HasAttachmentRelation DIA.HasPlainConnector
708                 
709 RELATIONS.dataConsumerRelation <T STR.ConnectionRelation
710     @L0.assert STR.AllowsConnectionType DOC.DataConnectionType
711     @L0.assert MOD.ConnectionRelationToTerminal DOC.Terminals.DataConsumerTerminal
712     @L0.assert STR.HasAttachmentRelation DIA.HasArrowConnector
713
714 RELATIONS.singleDataConsumerRelation <T L0.FunctionalRelation <T RELATIONS.dataConsumerRelation
715             
716 RELATIONS.dataIn : RELATIONS.singleDataConsumerRelation 
717     @defDataConsumerConnectionPoint
718
719 RELATIONS.arrayDataIn : RELATIONS.dataConsumerRelation 
720     @defDataConsumerConnectionPoint
721
722 RELATIONS.dataOut : RELATIONS.dataProviderRelation
723     @defDataProviderConnectionPoint
724     
725 RELATIONS.dataIn1 : RELATIONS.singleDataConsumerRelation 
726     @defDataConsumerConnectionPoint
727     
728 RELATIONS.dataIn2 : RELATIONS.singleDataConsumerRelation 
729     @defDataConsumerConnectionPoint
730
731 RELATIONS.dataIn3 : RELATIONS.singleDataConsumerRelation 
732     @defDataConsumerConnectionPoint
733     
734 RELATIONS.dataIn4 : RELATIONS.singleDataConsumerRelation 
735     @defDataConsumerConnectionPoint
736     
737 RELATIONS.dataIn5 : RELATIONS.singleDataConsumerRelation 
738     @defDataConsumerConnectionPoint
739     
740 RELATIONS.dataIn6 : RELATIONS.singleDataConsumerRelation 
741     @defDataConsumerConnectionPoint
742     
743 RELATIONS.dataIn7 : RELATIONS.singleDataConsumerRelation 
744     @defDataConsumerConnectionPoint
745     
746 RELATIONS.dataIn8 : RELATIONS.singleDataConsumerRelation 
747     @defDataConsumerConnectionPoint
748     
749 RELATIONS.dataIn9 : RELATIONS.singleDataConsumerRelation 
750     @defDataConsumerConnectionPoint
751     
752 RELATIONS.dataIn10 : RELATIONS.singleDataConsumerRelation 
753     @defDataConsumerConnectionPoint
754
755 /*** Data definition connections ***/
756 DOC.Document.DataDefinitionRelation <T STR.ConnectionRelation
757 DOC.Document.IsConnectedToDataDefinition <R STR.IsConnectedTo : DOC.Document.DataDefinitionRelation
758
759 DOC.DataDefinitionConnectionType : STR.ConnectionType
760     G2D.HasColor [0,0.65,1.0] : G2D.Color
761     G2D.HasStrokeType G2D.StrokeType.Scaling
762     G2D.HasStroke DOC.DataStroke
763     G2D.HasRounding 3.0
764     STR.HasConnectionConstraint
765         DOC.DataDefinitionToDataDefinitionConsumerConstraint : DOC.RelationTypeConstraint
766             DOC.RelationTypeConstraint.Type1 RELATIONS.dataDefinitionRelation
767             DOC.RelationTypeConstraint.Type2 RELATIONS.dataDefinitionConsumerRelation     
768         DOC.NoSelfConnectionConstraint 
769
770 defDataDefinitionConnectionPoint : L0.Template
771     @template %subject
772         %subject <R STR.IsConnectedTo
773
774 defDataDefinitionConsumerConnectionPoint : L0.Template
775     @template %subject
776         %subject <R DOC.Document.IsConnectedToDataDefinition
777             
778 RELATIONS.dataDefinitionRelation <T STR.ConnectionRelation
779     @L0.assert STR.AllowsConnectionType DOC.DataDefinitionConnectionType
780     @L0.assert MOD.ConnectionRelationToTerminal DOC.Terminals.DataProviderTerminal
781     @L0.assert STR.HasAttachmentRelation DIA.HasPlainConnector
782
783 RELATIONS.singleDataDefinitionRelation <T RELATIONS.dataDefinitionRelation <T L0.FunctionalRelation
784
785 RELATIONS.dataDefinitionConsumerRelation <T STR.ConnectionRelation
786     @L0.assert STR.AllowsConnectionType DOC.DataDefinitionConnectionType
787     @L0.assert MOD.ConnectionRelationToTerminal DOC.Terminals.DataConsumerTerminal
788     @L0.assert STR.HasAttachmentRelation DIA.HasArrowConnector               
789             
790 RELATIONS.data1 : RELATIONS.dataDefinitionConsumerRelation
791     @defDataDefinitionConsumerConnectionPoint
792
793 RELATIONS.data2 : RELATIONS.dataDefinitionConsumerRelation : L0.FunctionalRelation
794     @defDataDefinitionConsumerConnectionPoint
795     
796 RELATIONS.data3 : RELATIONS.dataDefinitionConsumerRelation : L0.FunctionalRelation
797     @defDataDefinitionConsumerConnectionPoint
798     
799 RELATIONS.data4 : RELATIONS.dataDefinitionConsumerRelation : L0.FunctionalRelation
800     @defDataDefinitionConsumerConnectionPoint
801
802 RELATIONS.data5 : RELATIONS.dataDefinitionConsumerRelation : L0.FunctionalRelation
803     @defDataDefinitionConsumerConnectionPoint
804
805 RELATIONS.data6 : RELATIONS.dataDefinitionConsumerRelation : L0.FunctionalRelation
806     @defDataDefinitionConsumerConnectionPoint
807
808 RELATIONS.data7 : RELATIONS.dataDefinitionConsumerRelation : L0.FunctionalRelation
809     @defDataDefinitionConsumerConnectionPoint
810
811 RELATIONS.data8 : RELATIONS.dataDefinitionConsumerRelation : L0.FunctionalRelation
812     @defDataDefinitionConsumerConnectionPoint
813
814 RELATIONS.data9 : RELATIONS.dataDefinitionConsumerRelation : L0.FunctionalRelation
815     @defDataDefinitionConsumerConnectionPoint
816
817 RELATIONS.data10 : RELATIONS.dataDefinitionConsumerRelation : L0.FunctionalRelation
818     @defDataDefinitionConsumerConnectionPoint
819
820 RELATIONS.dataDefinition : RELATIONS.dataDefinitionRelation
821     @defDataDefinitionConnectionPoint
822