]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.base.ontology/graph/Elements.pgraph
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.document.base.ontology / graph / Elements.pgraph
index 6fabbce0bd65fd4564561f0670374305fe010a8c..a2c9b7369bd41de90767cf0b90ad967a538f0f7c 100644 (file)
-L0 = <http://www.simantics.org/Layer0-1.1>\r
-STR = <http://www.simantics.org/Structural-1.2>\r
-DIA = <http://www.simantics.org/Diagram-2.2>\r
-G2D = <http://www.simantics.org/G2D-1.1>\r
-MOD = <http://www.simantics.org/Modeling-1.2>\r
-DOC = <http://www.simantics.org/Documentation-1.2>\r
-IMAGE = <http://www.simantics.org/Image2-1.2>\r
-RELATIONS = <http://www.simantics.org/Documentation-1.2/Relations>\r
-FUNCTIONS = <http://www.simantics.org/Documentation-1.2/Functions>\r
-COMPONENTS = <http://www.simantics.org/Documentation-1.2/Components>\r
-\r
-\r
-/*** DIAGRAM ***/\r
-DOC.DocumentDiagram <T DIA.Diagram\r
-    @L0.assert STR.HasModelingRules DOC.DiagramModelingRules\r
-    @L0.assert DIA.HasGridSize 1.0\r
-    @L0.assert DIA.HasPageDescription\r
-      DOC.A3 : DIA.PageDescription\r
-        DIA.PageDescription.Size [297.0,420.0]\r
-        DIA.PageDescription.Orientation DIA.Orientation.Portrait\r
-        DIA.PageDescription.Margins _ : DIA.Margins\r
-          DIA.PageDescription.Margins.Bottom 12.0\r
-          DIA.PageDescription.Margins.Top 12.0\r
-          DIA.PageDescription.Margins.Left 12.0\r
-          DIA.PageDescription.Margins.Right 12.0\r
-\r
-DOC.DiagramModelingRules : MOD.MappedModelingRules\r
-    MOD.HasBaseRules STR.StandardModelingRules            \r
-               \r
-\r
-/*** Relations ***/ \r
-DOC.DiagramRelations : L0.Library\r
-\r
-DIAGRAMRELATIONS = DOC.DiagramRelations\r
-\r
-terminalRelation : L0.Template\r
-    @template %subject %target\r
-        %subject <R STR.IsConnectedTo\r
-            MOD.DiagramConnectionRelationToConnectionRelation %target\r
-\r
-DIAGRAMRELATIONS.ParentRelation\r
-    @terminalRelation RELATIONS.parent\r
-\r
-DIAGRAMRELATIONS.Child1\r
-    @terminalRelation RELATIONS.part1\r
-    \r
-DIAGRAMRELATIONS.Child2\r
-    @terminalRelation RELATIONS.part2\r
-    \r
-DIAGRAMRELATIONS.Child3\r
-    @terminalRelation RELATIONS.part3        \r
-\r
-DIAGRAMRELATIONS.Child4\r
-    @terminalRelation RELATIONS.part4\r
-    \r
-DIAGRAMRELATIONS.Child5\r
-    @terminalRelation RELATIONS.part5\r
-    \r
-DIAGRAMRELATIONS.Child6\r
-    @terminalRelation RELATIONS.part6\r
-    \r
-DIAGRAMRELATIONS.Child7\r
-    @terminalRelation RELATIONS.part7\r
-    \r
-DIAGRAMRELATIONS.Child8\r
-    @terminalRelation RELATIONS.part8\r
-    \r
-DIAGRAMRELATIONS.Child9\r
-    @terminalRelation RELATIONS.part9\r
-    \r
-DIAGRAMRELATIONS.Child10\r
-    @terminalRelation RELATIONS.part10\r
-\r
-DIAGRAMRELATIONS.Child11\r
-    @terminalRelation RELATIONS.part11\r
-\r
-DIAGRAMRELATIONS.Child12\r
-    @terminalRelation RELATIONS.part12\r
-\r
-DIAGRAMRELATIONS.Child13\r
-    @terminalRelation RELATIONS.part13\r
-\r
-DIAGRAMRELATIONS.Child14\r
-    @terminalRelation RELATIONS.part14\r
-\r
-DIAGRAMRELATIONS.Child15\r
-    @terminalRelation RELATIONS.part15\r
-\r
-DIAGRAMRELATIONS.Child16\r
-    @terminalRelation RELATIONS.part16\r
-\r
-DIAGRAMRELATIONS.Child17\r
-    @terminalRelation RELATIONS.part17\r
-\r
-DIAGRAMRELATIONS.Child18\r
-    @terminalRelation RELATIONS.part18\r
-\r
-DIAGRAMRELATIONS.Child19\r
-    @terminalRelation RELATIONS.part19\r
-\r
-DIAGRAMRELATIONS.Child20\r
-    @terminalRelation RELATIONS.part20\r
-    \r
-DIAGRAMRELATIONS.Child21\r
-    @terminalRelation RELATIONS.part21\r
-\r
-DIAGRAMRELATIONS.Child22\r
-    @terminalRelation RELATIONS.part22\r
-\r
-DIAGRAMRELATIONS.Child23\r
-    @terminalRelation RELATIONS.part23\r
-\r
-DIAGRAMRELATIONS.Child24\r
-    @terminalRelation RELATIONS.part24\r
-\r
-DIAGRAMRELATIONS.Child25\r
-    @terminalRelation RELATIONS.part25\r
-\r
-DIAGRAMRELATIONS.Child26\r
-    @terminalRelation RELATIONS.part26\r
-\r
-DIAGRAMRELATIONS.Child27\r
-    @terminalRelation RELATIONS.part27\r
-\r
-DIAGRAMRELATIONS.Child28\r
-    @terminalRelation RELATIONS.part28\r
-\r
-DIAGRAMRELATIONS.Child29\r
-    @terminalRelation RELATIONS.part29\r
-\r
-DIAGRAMRELATIONS.Child30\r
-    @terminalRelation RELATIONS.part30\r
-\r
-DIAGRAMRELATIONS.ChildN\r
-    @terminalRelation RELATIONS.partN\r
-\r
-DIAGRAMRELATIONS.click\r
-    @terminalRelation RELATIONS.click    \r
-\r
-DIAGRAMRELATIONS.edit\r
-    @terminalRelation RELATIONS.edit    \r
-\r
-DIAGRAMRELATIONS.load\r
-    @terminalRelation RELATIONS.load    \r
-    \r
-DIAGRAMRELATIONS.select\r
-    @terminalRelation RELATIONS.select    \r
-\r
-DIAGRAMRELATIONS.valueChanged\r
-    @terminalRelation RELATIONS.valueChanged    \r
-    \r
-DIAGRAMRELATIONS.trigger\r
-    @terminalRelation RELATIONS.trigger    \r
-\r
-DIAGRAMRELATIONS.triggerTrue\r
-    @terminalRelation RELATIONS.triggerTrue    \r
-    \r
-DIAGRAMRELATIONS.triggerFalse\r
-    @terminalRelation RELATIONS.triggerFalse    \r
-        \r
-DIAGRAMRELATIONS.open\r
-    @terminalRelation RELATIONS.open     \r
-        \r
-DIAGRAMRELATIONS.close\r
-    @terminalRelation RELATIONS.close \r
-\r
-DIAGRAMRELATIONS.closed\r
-    @terminalRelation RELATIONS.closed \r
-    \r
-DIAGRAMRELATIONS.uploaded\r
-    @terminalRelation RELATIONS.uploaded   \r
-        \r
-DIAGRAMRELATIONS.submit\r
-    @terminalRelation RELATIONS.submit\r
-    \r
-DIAGRAMRELATIONS.enter\r
-    @terminalRelation RELATIONS.enter\r
-    \r
-DIAGRAMRELATIONS.data1\r
-    @terminalRelation RELATIONS.data1\r
-    \r
-DIAGRAMRELATIONS.data2\r
-    @terminalRelation RELATIONS.data2\r
-    \r
-DIAGRAMRELATIONS.data3\r
-    @terminalRelation RELATIONS.data3        \r
-\r
-DIAGRAMRELATIONS.data4\r
-    @terminalRelation RELATIONS.data4\r
-    \r
-DIAGRAMRELATIONS.data5\r
-    @terminalRelation RELATIONS.data5\r
-    \r
-DIAGRAMRELATIONS.data6\r
-    @terminalRelation RELATIONS.data6\r
-    \r
-DIAGRAMRELATIONS.data7\r
-    @terminalRelation RELATIONS.data7\r
-    \r
-DIAGRAMRELATIONS.data8\r
-    @terminalRelation RELATIONS.data8\r
-    \r
-DIAGRAMRELATIONS.data9\r
-    @terminalRelation RELATIONS.data9\r
-    \r
-DIAGRAMRELATIONS.data10\r
-    @terminalRelation RELATIONS.data10\r
-    \r
-DIAGRAMRELATIONS.dataOut\r
-    @terminalRelation RELATIONS.dataOut\r
-\r
-DIAGRAMRELATIONS.dataIn\r
-    @terminalRelation RELATIONS.dataIn\r
-    \r
-DIAGRAMRELATIONS.arrayDataIn\r
-    @terminalRelation RELATIONS.arrayDataIn\r
-    \r
-DIAGRAMRELATIONS.dataIn1\r
-    @terminalRelation RELATIONS.dataIn1\r
-    \r
-DIAGRAMRELATIONS.dataIn2\r
-    @terminalRelation RELATIONS.dataIn2\r
-    \r
-DIAGRAMRELATIONS.dataIn3\r
-    @terminalRelation RELATIONS.dataIn3        \r
-\r
-DIAGRAMRELATIONS.dataIn4\r
-    @terminalRelation RELATIONS.dataIn4\r
-    \r
-DIAGRAMRELATIONS.dataIn5\r
-    @terminalRelation RELATIONS.dataIn5\r
-    \r
-DIAGRAMRELATIONS.dataIn6\r
-    @terminalRelation RELATIONS.dataIn6\r
-    \r
-DIAGRAMRELATIONS.dataIn7\r
-    @terminalRelation RELATIONS.dataIn7\r
-    \r
-DIAGRAMRELATIONS.dataIn8\r
-    @terminalRelation RELATIONS.dataIn8\r
-    \r
-DIAGRAMRELATIONS.dataIn9\r
-    @terminalRelation RELATIONS.dataIn9\r
-    \r
-DIAGRAMRELATIONS.dataIn10\r
-    @terminalRelation RELATIONS.dataIn10\r
-    \r
-DIAGRAMRELATIONS.dataDefinition\r
-    @terminalRelation RELATIONS.dataDefinition        \r
-    \r
-DIAGRAMRELATIONS.event\r
-    @terminalRelation RELATIONS.event    \r
-    \r
-    \r
-DIAGRAMRELATIONS.sequenceTrigger\r
-    @terminalRelation RELATIONS.sequenceTrigger  \r
-        \r
-DIAGRAMRELATIONS.sequence1\r
-    @terminalRelation RELATIONS.sequence1\r
-    \r
-DIAGRAMRELATIONS.sequence2\r
-    @terminalRelation RELATIONS.sequence2\r
-    \r
-DIAGRAMRELATIONS.sequence3\r
-    @terminalRelation RELATIONS.sequence3        \r
-\r
-DIAGRAMRELATIONS.sequence4\r
-    @terminalRelation RELATIONS.sequence4\r
-    \r
-DIAGRAMRELATIONS.sequence5\r
-    @terminalRelation RELATIONS.sequence5\r
-    \r
-DIAGRAMRELATIONS.sequence6\r
-    @terminalRelation RELATIONS.sequence6\r
-    \r
-DIAGRAMRELATIONS.sequence7\r
-    @terminalRelation RELATIONS.sequence7\r
-    \r
-DIAGRAMRELATIONS.sequence8\r
-    @terminalRelation RELATIONS.sequence8\r
-    \r
-DIAGRAMRELATIONS.sequence9\r
-    @terminalRelation RELATIONS.sequence9\r
-    \r
-DIAGRAMRELATIONS.sequence10\r
-    @terminalRelation RELATIONS.sequence10\r
-    \r
-DIAGRAMRELATIONS.broadcast\r
-    @terminalRelation RELATIONS.broadcast\r
-      \r
-DIAGRAMRELATIONS.broadcasted\r
-    @terminalRelation RELATIONS.broadcasted\r
-\r
-DIAGRAMRELATIONS.eventIn\r
-    @terminalRelation RELATIONS.eventIn  \r
-        \r
-DIAGRAMRELATIONS.eventOut\r
-    @terminalRelation RELATIONS.eventOut\r
-            \r
-/*** Terminals ***/\r
-TERMINALS = DOC.Terminals : L0.Library \r
-\r
-TERMINALS.ParentTerminal /* @ "Connection point to parent" */ <T DIA.DefinedElement <T DIA.Terminal\r
-    STR.IsDefinedBy _ : DIA.Composite\r
-        @L0.orderedSet\r
-            _ : DIA.SVGElement\r
-                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><rect x="-0.5" y="-0.5" width="1.0" height="1.0" fill="rgb(0,163,204)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String\r
-                \r
-                \r
-TERMINALS.ChildTerminal /* @ "Connection point to a child element" */ <T DIA.DefinedElement <T DIA.Terminal\r
-    STR.IsDefinedBy _ : DIA.Composite\r
-        @L0.orderedSet\r
-            _ : DIA.SVGElement\r
-                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><ellipse cx="0.0" cy="0.0" rx="0.5" ry="0.5" fill="rgb(0,163,204)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String\r
-  \r
-TERMINALS.CommandTerminal /* @ "Command termina" */ <T DIA.DefinedElement <T DIA.Terminal\r
-    STR.IsDefinedBy _ : DIA.Composite\r
-        @L0.orderedSet\r
-            _ : DIA.SVGElement\r
-                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><rect x="-0.5" y="-0.5" width="1.0" height="1.0" fill="rgb(255,0,255)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String\r
-                \r
-TERMINALS.CommandExecutorTerminal /* @ "Command executor terminal" */ <T DIA.DefinedElement <T DIA.Terminal\r
-    STR.IsDefinedBy _ : DIA.Composite\r
-        @L0.orderedSet\r
-            _ : DIA.SVGElement\r
-                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><ellipse cx="0.0" cy="0.0" rx="0.5" ry="0.5" fill="rgb(255,0,255)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String\r
-\r
-TERMINALS.BroadcastTerminal /* @ "Command broadcast terminal" */ <T DIA.DefinedElement <T DIA.Terminal\r
-    STR.IsDefinedBy _ : DIA.Composite\r
-        @L0.orderedSet\r
-            _ : DIA.SVGElement\r
-                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><ellipse cx="0.0" cy="0.0" rx="0.5" ry="0.5" fill="rgb(215,0,215)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String\r
-                \r
-TERMINALS.BroadcastedTerminal /* @ "Command broadcasted terminal" */ <T DIA.DefinedElement <T DIA.Terminal\r
-    STR.IsDefinedBy _ : DIA.Composite\r
-        @L0.orderedSet\r
-            _ : DIA.SVGElement\r
-                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><rect x="-0.5" y="-0.5" width="1.0" height="1.0" fill="rgb(215,0,215)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String\r
-\r
-TERMINALS.DataConsumerTerminal /* @ "Data consumer, using data from a provider" */ <T DIA.DefinedElement <T DIA.Terminal\r
-    STR.IsDefinedBy _ : DIA.Composite\r
-        @L0.orderedSet\r
-            _ : DIA.SVGElement\r
-                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><ellipse cx="0.0" cy="0.0" rx="0.5" ry="0.5" fill="rgb(255,166,0)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String\r
-                \r
-TERMINALS.DataProviderTerminal /* @ "Provides data to a consumer" */ <T DIA.DefinedElement <T DIA.Terminal\r
-    STR.IsDefinedBy _ : DIA.Composite\r
-        @L0.orderedSet\r
-            _ : DIA.SVGElement\r
-                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><ellipse cx="0.0" cy="0.0" rx="0.5" ry="0.5" fill="rgb(255,166,0)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String\r
-\r
+L0 = <http://www.simantics.org/Layer0-1.1>
+STR = <http://www.simantics.org/Structural-1.2>
+DIA = <http://www.simantics.org/Diagram-2.2>
+G2D = <http://www.simantics.org/G2D-1.1>
+MOD = <http://www.simantics.org/Modeling-1.2>
+DOC = <http://www.simantics.org/Documentation-1.2>
+IMAGE = <http://www.simantics.org/Image2-1.2>
+RELATIONS = <http://www.simantics.org/Documentation-1.2/Relations>
+FUNCTIONS = <http://www.simantics.org/Documentation-1.2/Functions>
+COMPONENTS = <http://www.simantics.org/Documentation-1.2/Components>
+
+
+/*** DIAGRAM ***/
+DOC.DocumentDiagram <T DIA.Diagram
+    @L0.assert STR.HasModelingRules DOC.DiagramModelingRules
+    @L0.assert DIA.HasGridSize 1.0
+    @L0.assert DIA.HasPageDescription
+      DOC.A3 : DIA.PageDescription
+        DIA.PageDescription.Size [297.0,420.0]
+        DIA.PageDescription.Orientation DIA.Orientation.Portrait
+        DIA.PageDescription.Margins _ : DIA.Margins
+          DIA.PageDescription.Margins.Bottom 12.0
+          DIA.PageDescription.Margins.Top 12.0
+          DIA.PageDescription.Margins.Left 12.0
+          DIA.PageDescription.Margins.Right 12.0
+
+DOC.DiagramModelingRules : MOD.MappedModelingRules
+    MOD.HasBaseRules STR.StandardModelingRules            
+               
+
+/*** Relations ***/ 
+DOC.DiagramRelations : L0.Library
+
+DIAGRAMRELATIONS = DOC.DiagramRelations
+
+terminalRelation : L0.Template
+    @template %subject %target
+        %subject <R STR.IsConnectedTo
+            MOD.DiagramConnectionRelationToConnectionRelation %target
+
+DIAGRAMRELATIONS.ParentRelation
+    @terminalRelation RELATIONS.parent
+
+DIAGRAMRELATIONS.Child1
+    @terminalRelation RELATIONS.part1
+    
+DIAGRAMRELATIONS.Child2
+    @terminalRelation RELATIONS.part2
+    
+DIAGRAMRELATIONS.Child3
+    @terminalRelation RELATIONS.part3        
+
+DIAGRAMRELATIONS.Child4
+    @terminalRelation RELATIONS.part4
+    
+DIAGRAMRELATIONS.Child5
+    @terminalRelation RELATIONS.part5
+    
+DIAGRAMRELATIONS.Child6
+    @terminalRelation RELATIONS.part6
+    
+DIAGRAMRELATIONS.Child7
+    @terminalRelation RELATIONS.part7
+    
+DIAGRAMRELATIONS.Child8
+    @terminalRelation RELATIONS.part8
+    
+DIAGRAMRELATIONS.Child9
+    @terminalRelation RELATIONS.part9
+    
+DIAGRAMRELATIONS.Child10
+    @terminalRelation RELATIONS.part10
+
+DIAGRAMRELATIONS.Child11
+    @terminalRelation RELATIONS.part11
+
+DIAGRAMRELATIONS.Child12
+    @terminalRelation RELATIONS.part12
+
+DIAGRAMRELATIONS.Child13
+    @terminalRelation RELATIONS.part13
+
+DIAGRAMRELATIONS.Child14
+    @terminalRelation RELATIONS.part14
+
+DIAGRAMRELATIONS.Child15
+    @terminalRelation RELATIONS.part15
+
+DIAGRAMRELATIONS.Child16
+    @terminalRelation RELATIONS.part16
+
+DIAGRAMRELATIONS.Child17
+    @terminalRelation RELATIONS.part17
+
+DIAGRAMRELATIONS.Child18
+    @terminalRelation RELATIONS.part18
+
+DIAGRAMRELATIONS.Child19
+    @terminalRelation RELATIONS.part19
+
+DIAGRAMRELATIONS.Child20
+    @terminalRelation RELATIONS.part20
+    
+DIAGRAMRELATIONS.Child21
+    @terminalRelation RELATIONS.part21
+
+DIAGRAMRELATIONS.Child22
+    @terminalRelation RELATIONS.part22
+
+DIAGRAMRELATIONS.Child23
+    @terminalRelation RELATIONS.part23
+
+DIAGRAMRELATIONS.Child24
+    @terminalRelation RELATIONS.part24
+
+DIAGRAMRELATIONS.Child25
+    @terminalRelation RELATIONS.part25
+
+DIAGRAMRELATIONS.Child26
+    @terminalRelation RELATIONS.part26
+
+DIAGRAMRELATIONS.Child27
+    @terminalRelation RELATIONS.part27
+
+DIAGRAMRELATIONS.Child28
+    @terminalRelation RELATIONS.part28
+
+DIAGRAMRELATIONS.Child29
+    @terminalRelation RELATIONS.part29
+
+DIAGRAMRELATIONS.Child30
+    @terminalRelation RELATIONS.part30
+
+DIAGRAMRELATIONS.ChildN
+    @terminalRelation RELATIONS.partN
+
+DIAGRAMRELATIONS.click
+    @terminalRelation RELATIONS.click    
+
+DIAGRAMRELATIONS.edit
+    @terminalRelation RELATIONS.edit    
+
+DIAGRAMRELATIONS.load
+    @terminalRelation RELATIONS.load    
+    
+DIAGRAMRELATIONS.select
+    @terminalRelation RELATIONS.select    
+
+DIAGRAMRELATIONS.valueChanged
+    @terminalRelation RELATIONS.valueChanged    
+    
+DIAGRAMRELATIONS.trigger
+    @terminalRelation RELATIONS.trigger    
+
+DIAGRAMRELATIONS.triggerTrue
+    @terminalRelation RELATIONS.triggerTrue    
+    
+DIAGRAMRELATIONS.triggerFalse
+    @terminalRelation RELATIONS.triggerFalse    
+        
+DIAGRAMRELATIONS.open
+    @terminalRelation RELATIONS.open     
+        
+DIAGRAMRELATIONS.close
+    @terminalRelation RELATIONS.close 
+
+DIAGRAMRELATIONS.closed
+    @terminalRelation RELATIONS.closed 
+    
+DIAGRAMRELATIONS.uploaded
+    @terminalRelation RELATIONS.uploaded   
+        
+DIAGRAMRELATIONS.submit
+    @terminalRelation RELATIONS.submit
+    
+DIAGRAMRELATIONS.enter
+    @terminalRelation RELATIONS.enter
+    
+DIAGRAMRELATIONS.data1
+    @terminalRelation RELATIONS.data1
+    
+DIAGRAMRELATIONS.data2
+    @terminalRelation RELATIONS.data2
+    
+DIAGRAMRELATIONS.data3
+    @terminalRelation RELATIONS.data3        
+
+DIAGRAMRELATIONS.data4
+    @terminalRelation RELATIONS.data4
+    
+DIAGRAMRELATIONS.data5
+    @terminalRelation RELATIONS.data5
+    
+DIAGRAMRELATIONS.data6
+    @terminalRelation RELATIONS.data6
+    
+DIAGRAMRELATIONS.data7
+    @terminalRelation RELATIONS.data7
+    
+DIAGRAMRELATIONS.data8
+    @terminalRelation RELATIONS.data8
+    
+DIAGRAMRELATIONS.data9
+    @terminalRelation RELATIONS.data9
+    
+DIAGRAMRELATIONS.data10
+    @terminalRelation RELATIONS.data10
+    
+DIAGRAMRELATIONS.dataOut
+    @terminalRelation RELATIONS.dataOut
+
+DIAGRAMRELATIONS.dataIn
+    @terminalRelation RELATIONS.dataIn
+    
+DIAGRAMRELATIONS.arrayDataIn
+    @terminalRelation RELATIONS.arrayDataIn
+    
+DIAGRAMRELATIONS.dataIn1
+    @terminalRelation RELATIONS.dataIn1
+    
+DIAGRAMRELATIONS.dataIn2
+    @terminalRelation RELATIONS.dataIn2
+    
+DIAGRAMRELATIONS.dataIn3
+    @terminalRelation RELATIONS.dataIn3        
+
+DIAGRAMRELATIONS.dataIn4
+    @terminalRelation RELATIONS.dataIn4
+    
+DIAGRAMRELATIONS.dataIn5
+    @terminalRelation RELATIONS.dataIn5
+    
+DIAGRAMRELATIONS.dataIn6
+    @terminalRelation RELATIONS.dataIn6
+    
+DIAGRAMRELATIONS.dataIn7
+    @terminalRelation RELATIONS.dataIn7
+    
+DIAGRAMRELATIONS.dataIn8
+    @terminalRelation RELATIONS.dataIn8
+    
+DIAGRAMRELATIONS.dataIn9
+    @terminalRelation RELATIONS.dataIn9
+    
+DIAGRAMRELATIONS.dataIn10
+    @terminalRelation RELATIONS.dataIn10
+    
+DIAGRAMRELATIONS.dataDefinition
+    @terminalRelation RELATIONS.dataDefinition        
+    
+DIAGRAMRELATIONS.event
+    @terminalRelation RELATIONS.event    
+    
+    
+DIAGRAMRELATIONS.sequenceTrigger
+    @terminalRelation RELATIONS.sequenceTrigger  
+        
+DIAGRAMRELATIONS.sequence1
+    @terminalRelation RELATIONS.sequence1
+    
+DIAGRAMRELATIONS.sequence2
+    @terminalRelation RELATIONS.sequence2
+    
+DIAGRAMRELATIONS.sequence3
+    @terminalRelation RELATIONS.sequence3        
+
+DIAGRAMRELATIONS.sequence4
+    @terminalRelation RELATIONS.sequence4
+    
+DIAGRAMRELATIONS.sequence5
+    @terminalRelation RELATIONS.sequence5
+    
+DIAGRAMRELATIONS.sequence6
+    @terminalRelation RELATIONS.sequence6
+    
+DIAGRAMRELATIONS.sequence7
+    @terminalRelation RELATIONS.sequence7
+    
+DIAGRAMRELATIONS.sequence8
+    @terminalRelation RELATIONS.sequence8
+    
+DIAGRAMRELATIONS.sequence9
+    @terminalRelation RELATIONS.sequence9
+    
+DIAGRAMRELATIONS.sequence10
+    @terminalRelation RELATIONS.sequence10
+    
+DIAGRAMRELATIONS.broadcast
+    @terminalRelation RELATIONS.broadcast
+      
+DIAGRAMRELATIONS.broadcasted
+    @terminalRelation RELATIONS.broadcasted
+
+DIAGRAMRELATIONS.eventIn
+    @terminalRelation RELATIONS.eventIn  
+        
+DIAGRAMRELATIONS.eventOut
+    @terminalRelation RELATIONS.eventOut
+            
+/*** Terminals ***/
+TERMINALS = DOC.Terminals : L0.Library 
+
+TERMINALS.ParentTerminal /* @ "Connection point to parent" */ <T DIA.DefinedElement <T DIA.Terminal
+    STR.IsDefinedBy _ : DIA.Composite
+        @L0.orderedSet
+            _ : DIA.SVGElement
+                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><rect x="-0.5" y="-0.5" width="1.0" height="1.0" fill="rgb(0,163,204)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String
+                
+                
+TERMINALS.ChildTerminal /* @ "Connection point to a child element" */ <T DIA.DefinedElement <T DIA.Terminal
+    STR.IsDefinedBy _ : DIA.Composite
+        @L0.orderedSet
+            _ : DIA.SVGElement
+                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><ellipse cx="0.0" cy="0.0" rx="0.5" ry="0.5" fill="rgb(0,163,204)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String
+  
+TERMINALS.CommandTerminal /* @ "Command termina" */ <T DIA.DefinedElement <T DIA.Terminal
+    STR.IsDefinedBy _ : DIA.Composite
+        @L0.orderedSet
+            _ : DIA.SVGElement
+                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><rect x="-0.5" y="-0.5" width="1.0" height="1.0" fill="rgb(255,0,255)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String
+                
+TERMINALS.CommandExecutorTerminal /* @ "Command executor terminal" */ <T DIA.DefinedElement <T DIA.Terminal
+    STR.IsDefinedBy _ : DIA.Composite
+        @L0.orderedSet
+            _ : DIA.SVGElement
+                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><ellipse cx="0.0" cy="0.0" rx="0.5" ry="0.5" fill="rgb(255,0,255)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String
+
+TERMINALS.BroadcastTerminal /* @ "Command broadcast terminal" */ <T DIA.DefinedElement <T DIA.Terminal
+    STR.IsDefinedBy _ : DIA.Composite
+        @L0.orderedSet
+            _ : DIA.SVGElement
+                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><ellipse cx="0.0" cy="0.0" rx="0.5" ry="0.5" fill="rgb(215,0,215)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String
+                
+TERMINALS.BroadcastedTerminal /* @ "Command broadcasted terminal" */ <T DIA.DefinedElement <T DIA.Terminal
+    STR.IsDefinedBy _ : DIA.Composite
+        @L0.orderedSet
+            _ : DIA.SVGElement
+                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><rect x="-0.5" y="-0.5" width="1.0" height="1.0" fill="rgb(215,0,215)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String
+
+TERMINALS.DataConsumerTerminal /* @ "Data consumer, using data from a provider" */ <T DIA.DefinedElement <T DIA.Terminal
+    STR.IsDefinedBy _ : DIA.Composite
+        @L0.orderedSet
+            _ : DIA.SVGElement
+                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><ellipse cx="0.0" cy="0.0" rx="0.5" ry="0.5" fill="rgb(255,166,0)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String
+                
+TERMINALS.DataProviderTerminal /* @ "Provides data to a consumer" */ <T DIA.DefinedElement <T DIA.Terminal
+    STR.IsDefinedBy _ : DIA.Composite
+        @L0.orderedSet
+            _ : DIA.SVGElement
+                G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" overflow="visible" version="1.1"><g transform="translate(-0.0,-0.0)"><ellipse cx="0.0" cy="0.0" rx="0.5" ry="0.5" fill="rgb(255,166,0)" stroke="black" stroke-width="0.1"/></g></svg>""" : L0.String
+
  
\ No newline at end of file