]> gerrit.simantics Code Review - simantics/platform.git/blob - graph/Documentation.pgraph
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / graph / Documentation.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 STR = <http://www.simantics.org/Structural-1.2>
3 SG = <http://www.simantics.org/Scenegraph-1.1>
4 DIA = <http://www.simantics.org/Diagram-2.2>
5 MOD = <http://www.simantics.org/Modeling-1.2>
6 USER = <http://www.simantics.org/User-1.1>
7 SEL = <http://www.simantics.org/SelectionView-1.2>
8 SIMU = <http://www.simantics.org/Simulation-1.1>
9 FUNCTIONS = <http://www.simantics.org/Documentation-1.2/Functions>
10
11 Documentation = <http://www.simantics.org/Documentation-1.2> : L0.Ontology
12     @L0.new
13     L0.HasResourceClass "org.simantics.document.base.ontology.DocumentationResource"
14
15 Documentation.SCLMain : L0.SCLModule
16     L0.SCLModule.definition """
17         include "Document/All"
18         """
19
20 Documentation.connect : L0.Template
21   @template %parent %relation %connection %child
22     %parent
23       %relation %connection
24     %child
25       Documentation.Relations.parent %connection
26     %connection : STR.Connection
27
28 Documentation.child1 : L0.Template
29   @template %parent %connection %child
30     %parent
31       Documentation.Relations.part1 %connection
32     %child
33       Documentation.Relations.parent %connection
34     %connection : STR.Connection
35
36 Documentation.child2 : L0.Template
37   @template %parent %connection %child
38     %parent
39       Documentation.Relations.part2 %connection
40     %child
41       Documentation.Relations.parent %connection
42     %connection : STR.Connection
43
44 Documentation.child3 : L0.Template
45   @template %parent %connection %child
46     %parent
47       Documentation.Relations.part3 %connection
48     %child
49       Documentation.Relations.parent %connection
50     %connection : STR.Connection
51
52 Documentation.child4 : L0.Template
53   @template %parent %connection %child
54     %parent
55       Documentation.Relations.part4 %connection
56     %child
57       Documentation.Relations.parent %connection
58     %connection : STR.Connection
59
60 Documentation.child5 : L0.Template
61   @template %parent %connection %child
62     %parent
63       Documentation.Relations.part5 %connection
64     %child
65       Documentation.Relations.parent %connection
66     %connection : STR.Connection
67
68 Documentation.child6 : L0.Template
69   @template %parent %connection %child
70     %parent
71       Documentation.Relations.part6 %connection
72     %child
73       Documentation.Relations.parent %connection
74     %connection : STR.Connection
75
76 Documentation.child7 : L0.Template
77   @template %parent %connection %child
78     %parent
79       Documentation.Relations.part7 %connection
80     %child
81       Documentation.Relations.parent %connection
82     %connection : STR.Connection
83
84 Documentation.child8 : L0.Template
85   @template %parent %connection %child
86     %parent
87       Documentation.Relations.part8 %connection
88     %child
89       Documentation.Relations.parent %connection
90     %connection : STR.Connection
91
92 Documentation.child9 : L0.Template
93   @template %parent %connection %child
94     %parent
95       Documentation.Relations.part9 %connection
96     %child
97       Documentation.Relations.parent %connection
98     %connection : STR.Connection
99
100 Documentation.child10 : L0.Template
101   @template %parent %connection %child
102     %parent
103       Documentation.Relations.part10 %connection
104     %child
105       Documentation.Relations.parent %connection
106     %connection : STR.Connection
107
108
109 Documentation.singleData : L0.Template
110   @template %commandEvent %defVar %dataSource %eventSource %eventRelation %sourceName %targetName %DataSourceConn %DataTargetConn %EventConn
111     %DataSourceConn  : STR.Connection
112     %DataTargetConn : STR.Connection
113     %EventConn : STR.Connection
114     %commandEvent
115       Documentation.Relations.event %EventConn
116       Documentation.Relations.data1 %DataTargetConn
117     %defVar : Documentation.Components.DefVar
118       Documentation.Properties.source %sourceName
119       Documentation.Properties.target %targetName
120       Documentation.Relations.dataIn %DataSourceConn
121       Documentation.Relations.dataDefinition %DataTargetConn
122     %dataSource
123       Documentation.Relations.dataOut %DataSourceConn
124     %eventSource
125       %eventRelation %EventConn
126
127     
128
129 Documentation.Relations : L0.Library
130
131 Documentation.Document <T Documentation.Components.Composite
132     @L0.assert L0.domainChildren Documentation.Functions.inputSpaceChildren
133     @L0.assert STR.Composite.namingFunction Documentation.Functions.componentNamingStrategy       
134     >-- Documentation.Properties.state
135     @L0.sclAssertion Documentation.Properties.state "stateVariable self" "Variable"
136 /*    L0.Asserts _ : L0.Assertion
137         L0.HasPredicate Documentation.Properties.state
138         L0.HasObject FUNCTIONS.state*/
139     >-- Documentation.Properties.session
140     L0.Asserts _ : L0.Assertion
141         L0.HasPredicate Documentation.Properties.session
142         L0.HasObject FUNCTIONS.session
143     >-- Documentation.Properties.input
144     L0.Asserts _ : L0.Assertion
145         L0.HasPredicate Documentation.Properties.input
146         L0.HasObject FUNCTIONS.input
147     >-- Documentation.Properties.model
148     L0.Asserts _ : L0.Assertion
149         L0.HasPredicate Documentation.Properties.model
150         L0.HasObject FUNCTIONS.model    
151     >-- Documentation.Properties.experiment
152     L0.Asserts _ : L0.Assertion
153         L0.HasPredicate Documentation.Properties.experiment
154         L0.HasObject FUNCTIONS.experiment       
155
156 Documentation.DocumentComponentType <T STR.ComponentType
157
158 Documentation.DocumentProceduralComponentType <T STR.ProceduralComponentType <T Documentation.DocumentComponentType
159
160 Documentation.DocumentComponent <T Documentation.Components.Component : Documentation.DocumentComponentType
161     >-- Documentation.Properties.state
162     L0.Asserts _ : L0.Assertion
163         L0.HasPredicate Documentation.Properties.state
164         L0.HasObject FUNCTIONS.state
165     >-- Documentation.Properties.session
166     L0.Asserts _ : L0.Assertion
167         L0.HasPredicate Documentation.Properties.session
168         L0.HasObject FUNCTIONS.session
169     >-- Documentation.Properties.input
170     L0.Asserts _ : L0.Assertion
171         L0.HasPredicate Documentation.Properties.input
172         L0.HasObject FUNCTIONS.input
173     >-- Documentation.Properties.model
174     L0.Asserts _ : L0.Assertion
175         L0.HasPredicate Documentation.Properties.model
176         L0.HasObject FUNCTIONS.model    
177     >-- Documentation.Properties.experiment
178     L0.Asserts _ : L0.Assertion
179         L0.HasPredicate Documentation.Properties.experiment
180         L0.HasObject FUNCTIONS.experiment       
181         
182 Documentation.DocumentContribution <T L0.Entity
183   >-- Documentation.DocumentContribution.HasType --> L0.Type <R L0.DependsOn
184   >-- Documentation.DocumentContribution.HasDocument --> Documentation.Document <R L0.DependsOn
185
186 Documentation.InputContribution <T L0.Entity
187   >-- Documentation.InputContribution.function ==> "Resource -> <ReadGraph> [Variable]" <R L0.HasProperty : L0.FunctionalRelation
188   >-- Documentation.InputContribution.labeler ==> "Variable -> <ReadGraph> String" <R L0.HasProperty : L0.FunctionalRelation
189   
190 Documentation.ModelInputContribution : Documentation.InputContribution
191   L0.HasLabel "Models"
192   @Documentation.scl Documentation.InputContribution.function "documentModelContribution" "Resource -> <ReadGraph> [Variable]"
193   @Documentation.scl Documentation.InputContribution.labeler "documentModelContributionLabel" "Variable -> <ReadGraph> String"
194
195 Documentation.Session <T L0.Entity
196   >-- Documentation.Session.inputURI --> L0.String <R L0.HasProperty : L0.TotalFunction