source: Promot/trunk/promot/kb/testsuite/mdl/test-extend-node-width.mdl @ 9246

Last change on this file since 9246 was 9246, checked in by mirschel, 15 years ago

Added: test model for check of extend node width to label length (Explorer tests, test 18).

File size: 27.1 KB
Line 
1(define-terminal
2  :class "term-struct"
3  :super-classes ("terminal")
4  :geometry-width "13"
5  :geometry-height "13"
6  :link-color "blue"
7  :variables
8  (("a"
9    :value "1")))
10
11
12(define-module
13  :class "struct-library"
14  :super-classes ("module"))
15
16
17(define-module
18  :class "struct-model"
19  :super-classes ("module")
20  :documentation "superclass that must be used as a marker for all structural network modules opened in the visual editor")
21
22
23(define-terminal
24  :class "term-struct-compound"
25  :super-classes ("term-struct")
26  :properties
27  (("abstract"
28    :value "no"))
29  :icon "icons/struct/term-compound")
30
31
32(define-module
33  :class "compound"
34  :super-classes ("struct-library")
35  :icon "icons/struct/comp"
36  :terminals
37  (("input"
38    :is-a "term-struct-compound"
39    :geometry-side "top"
40    :geometry-position "0.5"))
41  :variables
42  (("defval"
43    :documentation "Default value of the logical state of the reaction. empty =
44  undefined"
45    :system-theoretic "integer-parameter")
46   ("ignore_in_export"
47    :documentation "parameter determining whether the compound is exported to the
48  CellNetAnalyzer. Allowed Values 0 (exported) or 1 (ignored in export), default
49  0."
50    :system-theoretic "integer-parameter"
51    :value "0")
52   ("map_number"
53    :documentation "parameter determining the map in CellNetAnalyzer. Should be a positive int, default is 1."
54    :system-theoretic "integer-parameter"
55    :value "1")
56   ("textbox_type"
57    :documentation "parameter determining if the textbox in  CellNetAnalyzer is editable (1), not-editable (2) or non-visible (3). The default value is 1."
58    :system-theoretic "integer-parameter"
59    :value "1")))
60
61
62(define-module
63  :class "toymodel"
64  :super-classes ("struct-model"))
65
66
67(define-module
68  :class "struct-adapter"
69  :super-classes ("struct-library")
70  :icon "icons/struct/struct-adapt"
71  :terminals
72  (("input"
73    :is-a "term-struct"
74    :geometry-side "top"
75    :geometry-position "0.5")
76   ("output"
77    :is-a "term-struct"
78    :geometry-side "bottom"
79    :geometry-position "0.5")))
80
81
82(define-module
83  :class "struct-adapter-compound"
84  :super-classes ("struct-adapter")
85  :properties
86  (("abstract"
87    :value "no"))
88  :icon "icons/struct/struct-adapt"
89  :terminals
90  (("input"
91    :is-a "term-struct-compound")
92   ("output"
93    :is-a "term-struct-compound")))
94
95
96(define-module
97  :class "phosphatase"
98  :super-classes ("compound")
99  :properties
100  (("abstract"
101    :value "no"))
102  :icon "icons/struct/phosphatase")
103
104
105(define-terminal
106  :class "term-struct-gate"
107  :super-classes ("term-struct"))
108
109
110(define-terminal
111  :class "term-struct-output"
112  :super-classes ("term-struct-gate")
113  :properties
114  (("abstract"
115    :value "no"))
116  :icon "icons/struct/term-output")
117
118
119(define-terminal
120  :class "term-struct-input"
121  :super-classes ("term-struct-gate")
122  :properties
123  (("abstract"
124    :value "no"))
125  :icon "icons/struct/term-input")
126
127
128(define-module
129  :class "not"
130  :super-classes ("struct-library")
131  :properties
132  (("abstract"
133    :value "no"))
134  :icon "icons/struct/not"
135  :terminals
136  (("input"
137    :is-a "term-struct-input"
138    :geometry-side "top"
139    :geometry-position "0.5")
140   ("output"
141    :is-a "term-struct-output"
142    :geometry-side "bottom"
143    :geometry-position "0.5")))
144
145
146(define-module
147  :class "reservoir"
148  :super-classes ("compound")
149  :properties
150  (("abstract"
151    :value "no"))
152  :icon "icons/struct/reservoir")
153
154
155(define-module
156  :class "gate"
157  :super-classes ("struct-library")
158  :variables
159  (("conf"
160    :documentation "confidence level of this element: 1-most established (values between 0 and 1)"
161    :system-theoretic "real-parameter"
162    :value "1")
163   ("defval"
164    :documentation "Default value of the logical state of the reaction. empty = undefined"
165    :system-theoretic "integer-parameter")
166   ("ignore_in_export"
167    :documentation "parameter determining whether the gate is exported to the
168  CellNetAnalyzer. Allowed Values 0 (exported) or 1 (ignored in export), default
169  0."
170    :system-theoretic "integer-parameter"
171    :value "0")
172   ("logexcl"
173    :documentation "parameter defining the gate to be excluded from logical
174  analysis. Allowed Values 0 (included) or 1 (excluded), default 0."
175    :system-theoretic "integer-parameter"
176    :value "0")
177   ("map_number"
178    :documentation "parameter determining the map in CellNetAnalyzer. Should be a positive int, default is 1."
179    :system-theoretic "integer-parameter"
180    :value "1")
181   ("monotone"
182    :documentation "parameter defining the gate to be monotone. Allowed Values 0 (non monotone) or >0 (monotone), default 0.01d0=monotone."
183    :system-theoretic "real-parameter"
184    :value "0.01d0")
185   ("textbox_type"
186    :documentation "parameter determining if the textbox in  CellNetAnalyzer is editable (1), not-editable (2) or non-visible (3). The default value is 1."
187    :system-theoretic "integer-parameter"
188    :value "1")
189   ("time"
190    :documentation "parameter determining the time-scale, 1 being the fastest"
191    :system-theoretic "real-parameter"
192    :value "1")))
193
194
195(define-module
196  :class "and"
197  :super-classes ("gate")
198  :icon "icons/struct/and")
199
200
201(define-module
202  :class "gate-2"
203  :super-classes ("gate")
204  :terminals
205  (("input1"
206    :is-a "term-struct-input"
207    :geometry-side "top"
208    :geometry-position "0.1")
209   ("input2"
210    :is-a "term-struct-input"
211    :geometry-side "top"
212    :geometry-position "0.9")
213   ("output"
214    :is-a "term-struct-output"
215    :geometry-side "bottom"
216    :geometry-position "0.5")))
217
218
219(define-module
220  :class "and-2"
221  :super-classes ("and" "gate-2")
222  :properties
223  (("abstract"
224    :value "no")))
225
226
227(define-module
228  :class "struct-adapter-gate"
229  :super-classes ("struct-adapter")
230  :properties
231  (("abstract"
232    :value "no"))
233  :icon "icons/struct/struct-adapt"
234  :terminals
235  (("input"
236    :is-a "term-struct-input")
237   ("output"
238    :is-a "term-struct-output")))
239
240
241(define-module
242  :class "gate-2-2"
243  :super-classes ("gate-2")
244  :parameters
245  (("gate_2.ignore_in_export"
246    :value "parent.ignore_in_export")
247   ("gate_2b.ignore_in_export"
248    :value "parent.ignore_in_export")
249   ("struct_adapter.ignore_in_export"
250    :value "parent.ignore_in_export")
251   ("struct_adapterb.ignore_in_export"
252    :value "parent.ignore_in_export"))
253  :terminals
254  (("input1"
255    :is-eq-to "gate_2.input1"
256    :geometry-side "TOP"
257    :geometry-position "0.1")
258   ("input2"
259    :is-eq-to "struct_adapter.input"
260    :geometry-side "TOP"
261    :geometry-position "0.5")
262   ("input3"
263    :is-eq-to "gate_2b.input2"
264    :geometry-side "TOP"
265    :geometry-position "0.9")
266   ("output"
267    :is-eq-to "struct_adapterb.output"
268    :geometry-side "BOTTOM"
269    :geometry-position "0.5"))
270  :modules
271  (("gate_2"
272    :is-a "gate-2"
273    :geometry-x "48"
274    :geometry-y "147")
275   ("gate_2b"
276    :is-a "gate-2"
277    :geometry-x "228"
278    :geometry-y "147")
279   ("struct_adapter"
280    :is-a "struct-adapter-gate"
281    :geometry-x "137"
282    :geometry-y "82")
283   ("struct_adapterb"
284    :is-a "struct-adapter-gate"
285    :geometry-x "138"
286    :geometry-y "209"))
287  :links
288  (("struct_adapterbinput_gate_2output"
289    :terminals ("struct_adapterb.input" "gate_2.output"
290                "gate_2b.output")
291    :nodes (("138" "158"))
292    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil)))
293   ("struct_adapteroutput_gate_2input2"
294    :terminals ("struct_adapter.output" "gate_2.input2"
295                "gate_2b.input1")
296    :nodes (("138" "136"))
297    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil))))
298  :variables
299  (("visibility"
300    :value "1")))
301
302
303(define-module
304  :class "and-2-2"
305  :super-classes ("and" "gate-2-2")
306  :properties
307  (("abstract"
308    :value "no"))
309  :icon "icons/struct/and_22"
310  :parameters
311  (("gate_2.ignore_in_export"
312    :value "parent.ignore_in_export")
313   ("gate_2b.ignore_in_export"
314    :value "parent.ignore_in_export"))
315  :modules
316  (("gate_2"
317    :is-a "and-2")
318   ("gate_2b"
319    :is-a "and-2")))
320
321
322(define-module
323  :class "activ"
324  :super-classes ("gate")
325  :properties
326  (("abstract"
327    :value "no"))
328  :icon "icons/struct/activ"
329  :terminals
330  (("input1"
331    :is-a "term-struct-input"
332    :geometry-side "top"
333    :geometry-position "0.5")
334   ("output"
335    :is-a "term-struct-output"
336    :geometry-side "bottom"
337    :geometry-position "0.5")))
338
339
340(define-module
341  :class "somehow"
342  :super-classes ("gate")
343  :documentation " classes to represent incomplete truth tables")
344
345
346(define-module
347  :class "somehow-2"
348  :super-classes ("gate-2" "somehow")
349  :properties
350  (("abstract"
351    :value "no"))
352  :icon "icons/struct/somehow")
353
354
355(define-module
356  :class "receptor"
357  :super-classes ("compound")
358  :properties
359  (("abstract"
360    :value "no"))
361  :icon "icons/struct/receptor")
362
363
364(define-module
365  :class "adapter"
366  :super-classes ("compound")
367  :properties
368  (("abstract"
369    :value "no"))
370  :icon "icons/struct/adapter")
371
372
373(define-module
374  :class "boundary"
375  :super-classes ("gate"))
376
377
378(define-module
379  :class "drain"
380  :super-classes ("boundary")
381  :properties
382  (("abstract"
383    :value "no"))
384  :icon "icons/struct/output"
385  :terminals
386  (("input"
387    :is-a "term-struct-input"
388    :geometry-side "top"
389    :geometry-position "0.5")))
390
391
392(define-module
393  :class "transfactor"
394  :super-classes ("compound")
395  :properties
396  (("abstract"
397    :value "no"))
398  :icon "icons/struct/transfactor")
399
400
401(define-module
402  :class "nucleus"
403  :super-classes ("toymodel")
404  :icon "../../../../../../../../usr/local/diana/promot-development/promot/kb/SignalTransd/structure/icons/struct/nucleus.gif"
405  :geometry-width "123"
406  :geometry-height "332"
407  :terminals
408  (("input1"
409    :is-eq-to "k3p1_k3p2_tf1.input1"
410    :geometry-side "TOP"
411    :geometry-position "0.101626016"
412    :line nil)
413   ("input2"
414    :is-eq-to "k3p1_k3p2_tf1.input2"
415    :geometry-side "TOP"
416    :geometry-position "0.92276424"))
417  :modules
418  (("drain"
419    :is-a "drain"
420    :geometry-x "63"
421    :geometry-y "282")
422   ("k3p1_k3p2_tf1"
423    :is-a "and-2"
424    :geometry-x "63"
425    :geometry-y "150")
426   ("tf1_mmmm"
427    :is-a "transfactor"
428    :geometry-x "62"
429    :geometry-y "218"
430    :graphical-flip "00"
431    :graphical-rotation "0"))
432  :links
433  (("k3p1_k3p2_tf1output_tf1_mmmminput"
434    :terminals ("k3p1_k3p2_tf1.output" "tf1_mmmm.input" "drain.input")
435    :nodes (("63" "210"))
436    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil)))))
437
438
439(define-module
440  :class "source"
441  :super-classes ("boundary")
442  :properties
443  (("abstract"
444    :value "no"))
445  :icon "icons/struct/input"
446  :terminals
447  (("output"
448    :is-a "term-struct-output"
449    :geometry-side "bottom"
450    :geometry-position "0.5")))
451
452
453(define-module
454  :class "kinase"
455  :super-classes ("compound")
456  :properties
457  (("abstract"
458    :value "no"))
459  :icon "icons/struct/kinase")
460
461
462(define-module
463  :class "cell"
464  :super-classes ("toymodel")
465  :icon "../../../../../../../../usr/local/diana/promot-development/promot/kb/SignalTransd/structure/icons/struct/cell.gif"
466  :geometry-width "800"
467  :geometry-height "900"
468  :terminals
469  (("input"
470    :is-eq-to "struct_adapter_compound.input"
471    :geometry-side "TOP"
472    :geometry-position "0.335625")
473   ("input0"
474    :is-eq-to "struct_adapter_compound0.input"
475    :geometry-side "TOP"
476    :geometry-position "0.710625"))
477  :modules
478  (("a1_mmmmm"
479    :is-a "adapter"
480    :geometry-x "194"
481    :geometry-y "344"
482    :graphical-flip "00"
483    :graphical-rotation "0")
484   ("a1_not_ph1_k1"
485    :is-a "somehow-2"
486    :geometry-x "182"
487    :geometry-y "425")
488   ("a1_ph2"
489    :is-a "activ"
490    :geometry-x "691"
491    :geometry-y "349")
492   ("a2_iiiiiiiiiiiiiiiii"
493    :is-a "adapter"
494    :geometry-x "556"
495    :geometry-y "412"
496    :graphical-flip "00"
497    :graphical-rotation "0")
498   ("and_2_2"
499    :is-a "and-2-2"
500    :geometry-x "556"
501    :geometry-y "496")
502   ("k1_iiiiiiiiiiiiiiiiiiii"
503    :is-a "kinase"
504    :geometry-x "182"
505    :geometry-y "493"
506    :graphical-flip "00"
507    :graphical-rotation "0")
508   ("k1_k3r_k3p1"
509    :is-a "and-2"
510    :geometry-x "193"
511    :geometry-y "560")
512   ("k2_k3r_k3p2"
513    :is-a "and-2"
514    :geometry-x "544"
515    :geometry-y "648")
516   ("k2_mmmmmmm"
517    :is-a "kinase"
518    :geometry-x "556"
519    :geometry-y "555"
520    :graphical-flip "00"
521    :graphical-rotation "0")
522   ("k3p1"
523    :is-a "kinase"
524    :geometry-x "192"
525    :geometry-y "608")
526   ("k3p1_ph1"
527    :is-a "activ"
528    :geometry-x "126"
529    :geometry-y "600"
530    :graphical-rotation "90")
531   ("k3p2"
532    :is-a "kinase"
533    :geometry-x "543"
534    :geometry-y "714")
535   ("k3r"
536    :is-a "reservoir"
537    :geometry-x "422"
538    :geometry-y "645")
539   ("not"
540    :is-a "not"
541    :geometry-x "269"
542    :geometry-y "283")
543   ("not0"
544    :is-a "not"
545    :geometry-x "74"
546    :geometry-y "421"
547    :graphical-rotation "180")
548   ("not_r1_r2_a2"
549    :is-a "and-2"
550    :geometry-x "556"
551    :geometry-y "301")
552   ("nucleus_mmmmmmmm"
553    :is-a "nucleus"
554    :geometry-x "399"
555    :geometry-y "780"
556    :graphical-flip "00"
557    :graphical-rotation "0")
558   ("ph1"
559    :is-a "phosphatase"
560    :geometry-x "74"
561    :geometry-y "606")
562   ("ph2"
563    :is-a "phosphatase"
564    :geometry-x "691"
565    :geometry-y "493")
566   ("r1"
567    :is-a "receptor"
568    :geometry-x "268"
569    :geometry-y "220"
570    :graphical-flip "00"
571    :graphical-rotation "0")
572   ("r1_a1"
573    :is-a "activ"
574    :geometry-x "194"
575    :geometry-y "220")
576   ("r2"
577    :is-a "receptor"
578    :geometry-x "568"
579    :geometry-y "226")
580   ("source"
581    :is-a "source"
582    :geometry-x "422"
583    :geometry-y "568"
584    :graphical-flip "00"
585    :graphical-rotation "0")
586   ("struct_adapter_compound"
587    :is-a "struct-adapter-compound"
588    :geometry-x "268"
589    :geometry-y "74")
590   ("struct_adapter_compound0"
591    :is-a "struct-adapter-compound"
592    :geometry-x "568"
593    :geometry-y "76"))
594  :links
595  (("a1_not_ph1_k1output_k1_iiiiiiiiiiiiiiiiiiiiinput"
596    :terminals ("a1_not_ph1_k1.output" "k1_iiiiiiiiiiiiiiiiiiii.input"
597                "k1_k3r_k3p1.input1" "and_2_2.input1")
598    :nodes (("182" "485"))
599    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil) ("3" "-1" nil)))
600   ("a1_ph2output_ph2input"
601    :terminals ("a1_ph2.output" "ph2.input" "and_2_2.input3")
602    :nodes (("691" "485"))
603    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil)))
604   ("and_2_2output_k2_mmmmmmminput"
605    :terminals ("and_2_2.output" "k2_mmmmmmm.input"
606                "k2_k3r_k3p2.input2")
607    :nodes (("556" "547"))
608    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil)))
609   ("k1_k3r_k3p1output_k3p1input"
610    :terminals ("k1_k3r_k3p1.output" "k3p1.input" "k3p1_ph1.input1"
611                "nucleus_mmmmmmmm.input1")
612    :nodes (("192" "600"))
613    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil)
614            ("3" "-1" (("192" "736")))))
615   ("k2_k3r_k3p2output_k3p2input"
616    :terminals ("k2_k3r_k3p2.output" "k3p2.input"
617                "nucleus_mmmmmmmm.input2")
618    :nodes (("544" "706"))
619    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" (("544" "736")))))
620   ("not0input_ph1input"
621    :terminals ("not0.input" "ph1.input" "k3p1_ph1.output")
622    :nodes (("74" "600"))
623    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil)))
624   ("not0output_a1_not_ph1_k1input1"
625    :terminals ("not0.output" "a1_not_ph1_k1.input1")
626    :edges (("0" "1" nil)))
627   ("notoutput_not_r1_r2_a2input1"
628    :terminals ("not.output" "not_r1_r2_a2.input1")
629    :edges (("0" "1" nil)))
630   ("not_r1_r2_a2output_a2_iiiiiiiiiiiiiiiiiinput"
631    :terminals ("not_r1_r2_a2.output" "a2_iiiiiiiiiiiiiiiii.input"
632                "and_2_2.input2")
633    :nodes (("556" "404"))
634    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil)))
635   ("r1_a1output_a1_mmmmminput"
636    :terminals ("r1_a1.output" "a1_mmmmm.input" "a1_ph2.input1"
637                "a1_not_ph1_k1.input2")
638    :nodes (("194" "340"))
639    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil) ("3" "-1" nil)))
640   ("sourceoutput_k3rinput"
641    :terminals ("source.output" "k3r.input" "k1_k3r_k3p1.input2"
642                "k2_k3r_k3p2.input1")
643    :nodes (("422" "637"))
644    :edges (("0" "-1" nil) ("1" "-1" nil)
645            ("2" "-1" (("355" "549") ("355" "637"))) ("3" "-1" nil)))
646   ("struct_adapter_compound0output_r2input"
647    :terminals ("struct_adapter_compound0.output" "r2.input"
648                "not_r1_r2_a2.input2")
649    :nodes (("568" "217"))
650    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil)))
651   ("struct_adapter_compoundoutput_r1input"
652    :terminals ("struct_adapter_compound.output" "r1.input"
653                "r1_a1.input1" "not.input")
654    :nodes (("268" "211"))
655    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil) ("3" "-1" nil)))))
656
657
658(define-module
659  :class "whole_model"
660  :super-classes ("toymodel")
661  :properties
662  (("model"
663    :value "yes"))
664  :geometry-width "320"
665  :geometry-height "433"
666  :modules
667  (("cell"
668    :is-a "cell"
669    :geometry-x "155"
670    :geometry-y "262")
671   ("lig1"
672    :is-a "source"
673    :geometry-x "122"
674    :geometry-y "132")
675   ("lig2"
676    :is-a "source"
677    :geometry-x "197"
678    :geometry-y "132"))
679  :links
680  (("lig1output_cellinput"
681    :terminals ("lig1.output" "cell.input")
682    :edges (("0" "1" nil)))
683   ("lig2output_cellinput0"
684    :terminals ("lig2.output" "cell.input0")
685    :edges (("0" "1" nil)))))
686
687
688(define-module
689  :class "ligand"
690  :super-classes ("compound")
691  :properties
692  (("abstract"
693    :value "no"))
694  :icon "icons/struct/ligand")
695
696
697(define-module
698  :class "dummy"
699  :super-classes ("compound")
700  :properties
701  (("abstract"
702    :value "no"))
703  :icon "icons/struct/dummy")
704
705
706(define-module
707  :class "ubiquitin-ligase"
708  :super-classes ("compound")
709  :properties
710  (("abstract"
711    :value "no"))
712  :icon "icons/struct/ubiquitinLigase")
713
714
715(define-module
716  :class "gtpase"
717  :super-classes ("compound")
718  :properties
719  (("abstract"
720    :value "no"))
721  :icon "icons/struct/gpro")
722
723
724(define-module
725  :class "gprotein"
726  :super-classes ("compound")
727  :properties
728  (("abstract"
729    :value "no"))
730  :icon "icons/struct/gpro")
731
732
733(define-module
734  :class "gef"
735  :super-classes ("compound")
736  :documentation "guanine nucleotide exchange factor"
737  :properties
738  (("abstract"
739    :value "no"))
740  :icon "icons/struct/gef")
741
742
743(define-module
744  :class "gap"
745  :super-classes ("compound")
746  :documentation "gtpase activating protein"
747  :properties
748  (("abstract"
749    :value "no"))
750  :icon "icons/struct/gap")
751
752
753(define-module
754  :class "other"
755  :super-classes ("compound")
756  :properties
757  (("abstract"
758    :value "no")))
759
760
761(define-module
762  :class "drug"
763  :super-classes ("compound")
764  :properties
765  (("abstract"
766    :value "no"))
767  :icon "icons/struct/drug")
768
769
770(define-module
771  :class "external-stimulus"
772  :super-classes ("compound")
773  :properties
774  (("abstract"
775    :value "no"))
776  :icon "icons/struct/externalStimulus")
777
778
779(define-module
780  :class "phenotype"
781  :super-classes ("compound")
782  :properties
783  (("abstract"
784    :value "no"))
785  :icon "icons/struct/phenotype")
786
787
788(define-module
789  :class "gene"
790  :super-classes ("compound")
791  :properties
792  (("abstract"
793    :value "no"))
794  :icon "icons/struct/gene")
795
796
797(define-module
798  :class "gate-3"
799  :super-classes ("gate")
800  :terminals
801  (("input1"
802    :is-a "term-struct-input"
803    :geometry-side "top"
804    :geometry-position "0.1")
805   ("input2"
806    :is-a "term-struct-input"
807    :geometry-side "top"
808    :geometry-position "0.5")
809   ("input3"
810    :is-a "term-struct-input"
811    :geometry-side "top"
812    :geometry-position "0.9")
813   ("output"
814    :is-a "term-struct-output"
815    :geometry-side "bottom"
816    :geometry-position "0.5")))
817
818
819(define-module
820  :class "gate-4"
821  :super-classes ("gate")
822  :terminals
823  (("input1"
824    :is-a "term-struct-input"
825    :geometry-side "left"
826    :geometry-position "0.5")
827   ("input2"
828    :is-a "term-struct-input"
829    :geometry-side "top"
830    :geometry-position "0.25")
831   ("input3"
832    :is-a "term-struct-input"
833    :geometry-side "top"
834    :geometry-position "0.77")
835   ("input4"
836    :is-a "term-struct-input"
837    :geometry-side "right"
838    :geometry-position "0.5")
839   ("output"
840    :is-a "term-struct-output"
841    :geometry-side "bottom"
842    :geometry-position "0.5")))
843
844
845(define-module
846  :class "gate-5"
847  :super-classes ("gate")
848  :terminals
849  (("input1"
850    :is-a "term-struct-input"
851    :geometry-side "left"
852    :geometry-position "0.9")
853   ("input2"
854    :is-a "term-struct-input"
855    :geometry-side "left"
856    :geometry-position "0.1")
857   ("input3"
858    :is-a "term-struct-input"
859    :geometry-side "top"
860    :geometry-position "0.5")
861   ("input4"
862    :is-a "term-struct-input"
863    :geometry-side "right"
864    :geometry-position "0.1")
865   ("input5"
866    :is-a "term-struct-input"
867    :geometry-side "right"
868    :geometry-position "0.9")
869   ("output"
870    :is-a "term-struct-output"
871    :geometry-side "bottom"
872    :geometry-position "0.5")))
873
874
875(define-module
876  :class "gate-6"
877  :super-classes ("gate")
878  :terminals
879  (("input1"
880    :is-a "term-struct-input"
881    :geometry-side "left"
882    :geometry-position "0.9")
883   ("input2"
884    :is-a "term-struct-input"
885    :geometry-side "left"
886    :geometry-position "0.1")
887   ("input3"
888    :is-a "term-struct-input"
889    :geometry-side "top"
890    :geometry-position "0.5")
891   ("input4"
892    :is-a "term-struct-input"
893    :geometry-side "right"
894    :geometry-position "0.1")
895   ("input5"
896    :is-a "term-struct-input"
897    :geometry-side "right"
898    :geometry-position "0.5")
899   ("input6"
900    :is-a "term-struct-input"
901    :geometry-side "right"
902    :geometry-position "0.9")
903   ("output"
904    :is-a "term-struct-output"
905    :geometry-side "bottom"
906    :geometry-position "0.5")))
907
908
909(define-module
910  :class "and-3"
911  :super-classes ("and" "gate-3")
912  :properties
913  (("abstract"
914    :value "no")))
915
916
917(define-module
918  :class "and-4"
919  :super-classes ("and" "gate-4")
920  :properties
921  (("abstract"
922    :value "no")))
923
924
925(define-module
926  :class "and-5"
927  :super-classes ("and" "gate-5")
928  :properties
929  (("abstract"
930    :value "no")))
931
932
933(define-module
934  :class "and-6"
935  :super-classes ("and" "gate-6")
936  :properties
937  (("abstract"
938    :value "no")))
939
940
941(define-module
942  :class "or"
943  :super-classes ("gate")
944  :icon "icons/struct/or")
945
946
947(define-module
948  :class "or-2"
949  :super-classes ("or" "gate-2")
950  :properties
951  (("abstract"
952    :value "no"))
953  :parameters
954  (("activ.ignore_in_export"
955    :value "parent.ignore_in_export")
956   ("activ2.ignore_in_export"
957    :value "parent.ignore_in_export")
958   ("struct_adapter.ignore_in_export"
959    :value "parent.ignore_in_export"))
960  :terminals
961  (("input1"
962    :is-eq-to "activ.input1")
963   ("input2"
964    :is-eq-to "activ2.input1")
965   ("output"
966    :is-eq-to "struct_adapter.output"))
967  :modules
968  (("activ"
969    :is-a "activ"
970    :geometry-x "71"
971    :geometry-y "81")
972   ("activ2"
973    :is-a "activ"
974    :geometry-x "202"
975    :geometry-y "84")
976   ("struct_adapter"
977    :is-a "struct-adapter-gate"
978    :geometry-x "124"
979    :geometry-y "176"))
980  :links
981  (("struct_adapterinput_activ2output"
982    :terminals ("struct_adapter.input" "activ2.output" "activ.output")
983    :nodes (("136" "112"))
984    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil)))))
985
986
987(define-module
988  :class "or-3"
989  :super-classes ("or" "gate-3")
990  :properties
991  (("abstract"
992    :value "no"))
993  :geometry-width "438"
994  :geometry-height "300"
995  :parameters
996  (("activ.ignore_in_export"
997    :value "parent.ignore_in_export")
998   ("activ0.ignore_in_export"
999    :value "parent.ignore_in_export")
1000   ("activ2.ignore_in_export"
1001    :value "parent.ignore_in_export")
1002   ("struct_adapter.ignore_in_export"
1003    :value "parent.ignore_in_export"))
1004  :terminals
1005  (("input1"
1006    :is-eq-to "activ.input1")
1007   ("input2"
1008    :is-eq-to "activ2.input1")
1009   ("input3"
1010    :is-eq-to "activ0.input1")
1011   ("output"
1012    :is-eq-to "struct_adapter.output"))
1013  :modules
1014  (("activ"
1015    :is-a "activ"
1016    :geometry-x "71"
1017    :geometry-y "81")
1018   ("activ0"
1019    :is-a "activ"
1020    :geometry-x "290"
1021    :geometry-y "85")
1022   ("activ2"
1023    :is-a "activ"
1024    :geometry-x "202"
1025    :geometry-y "84")
1026   ("struct_adapter"
1027    :is-a "struct-adapter-gate"
1028    :geometry-x "124"
1029    :geometry-y "176"))
1030  :links
1031  (("struct_adapterinput_activ2output"
1032    :terminals ("struct_adapter.input" "activ2.output" "activ.output"
1033                "activ0.output")
1034    :nodes (("136" "112"))
1035    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil) ("3" "-1" nil)))))
1036
1037
1038(define-module
1039  :class "or-4"
1040  :super-classes ("or" "gate-4")
1041  :properties
1042  (("abstract"
1043    :value "no"))
1044  :geometry-width "407"
1045  :geometry-height "300"
1046  :parameters
1047  (("activ.ignore_in_export"
1048    :value "parent.ignore_in_export")
1049   ("activ0.ignore_in_export"
1050    :value "parent.ignore_in_export")
1051   ("activ1.ignore_in_export"
1052    :value "parent.ignore_in_export")
1053   ("activ2.ignore_in_export"
1054    :value "parent.ignore_in_export")
1055   ("struct_adapter.ignore_in_export"
1056    :value "parent.ignore_in_export"))
1057  :terminals
1058  (("input1"
1059    :is-eq-to "activ.input1")
1060   ("input2"
1061    :is-eq-to "activ2.input1")
1062   ("input3"
1063    :is-eq-to "activ0.input1")
1064   ("input4"
1065    :is-eq-to "activ1.input1")
1066   ("output"
1067    :is-eq-to "struct_adapter.output"))
1068  :modules
1069  (("activ"
1070    :is-a "activ"
1071    :geometry-x "55"
1072    :geometry-y "129")
1073   ("activ0"
1074    :is-a "activ"
1075    :geometry-x "250"
1076    :geometry-y "77")
1077   ("activ1"
1078    :is-a "activ"
1079    :geometry-x "330"
1080    :geometry-y "127")
1081   ("activ2"
1082    :is-a "activ"
1083    :geometry-x "122"
1084    :geometry-y "76")
1085   ("struct_adapter"
1086    :is-a "struct-adapter-gate"
1087    :geometry-x "172"
1088    :geometry-y "176"))
1089  :links
1090  (("struct_adapterinput_activ2output"
1091    :terminals ("struct_adapter.input" "activ2.output" "activ.output"
1092                "activ0.output" "activ1.output")
1093    :nodes (("174" "104"))
1094    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil) ("3" "-1" nil)
1095            ("4" "-1" nil)))))
1096
1097
1098(define-module
1099  :class "or-5"
1100  :super-classes ("or" "gate-5")
1101  :properties
1102  (("abstract"
1103    :value "no"))
1104  :geometry-width "407"
1105  :geometry-height "300"
1106  :parameters
1107  (("activ.ignore_in_export"
1108    :value "parent.ignore_in_export")
1109   ("activ0.ignore_in_export"
1110    :value "parent.ignore_in_export")
1111   ("activ1.ignore_in_export"
1112    :value "parent.ignore_in_export")
1113   ("activ2.ignore_in_export"
1114    :value "parent.ignore_in_export")
1115   ("activ3.ignore_in_export"
1116    :value "parent.ignore_in_export")
1117   ("struct_adapter.ignore_in_export"
1118    :value "parent.ignore_in_export"))
1119  :terminals
1120  (("input1"
1121    :is-eq-to "activ.input1")
1122   ("input2"
1123    :is-eq-to "activ2.input1")
1124   ("input3"
1125    :is-eq-to "activ0.input1")
1126   ("input4"
1127    :is-eq-to "activ1.input1")
1128   ("input5"
1129    :is-eq-to "activ3.input1")
1130   ("output"
1131    :is-eq-to "struct_adapter.output"))
1132  :modules
1133  (("activ"
1134    :is-a "activ"
1135    :geometry-x "55"
1136    :geometry-y "129")
1137   ("activ0"
1138    :is-a "activ"
1139    :geometry-x "250"
1140    :geometry-y "77")
1141   ("activ1"
1142    :is-a "activ"
1143    :geometry-x "330"
1144    :geometry-y "127")
1145   ("activ2"
1146    :is-a "activ"
1147    :geometry-x "122"
1148    :geometry-y "76")
1149   ("activ3"
1150    :is-a "activ"
1151    :geometry-x "165"
1152    :geometry-y "62")
1153   ("struct_adapter"
1154    :is-a "struct-adapter-gate"
1155    :geometry-x "172"
1156    :geometry-y "176"))
1157  :links
1158  (("struct_adapterinput_activ2output"
1159    :terminals ("struct_adapter.input" "activ2.output" "activ.output"
1160                "activ0.output" "activ1.output" "activ3.output")
1161    :nodes (("174" "104"))
1162    :edges (("0" "-1" nil) ("1" "-1" nil) ("2" "-1" nil) ("3" "-1" nil)
1163            ("4" "-1" nil) ("5" "-1" nil)))))
1164
1165
1166(define-module
1167  :class "somehow-3"
1168  :super-classes ("gate-3" "somehow")
1169  :properties
1170  (("abstract"
1171    :value "no"))
1172  :icon "icons/struct/somehow")
1173
1174
1175(define-module
1176  :class "somehow-4"
1177  :super-classes ("gate-4" "somehow")
1178  :properties
1179  (("abstract"
1180    :value "no"))
1181  :icon "icons/struct/somehow")
1182
1183
1184(define-module
1185  :class "somehow-5"
1186  :super-classes ("gate-5" "somehow")
1187  :properties
1188  (("abstract"
1189    :value "no"))
1190  :icon "icons/struct/somehow")
1191
1192
Note: See TracBrowser for help on using the repository browser.