]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.layer0/graph/Layer0SCL.pgraph
Support for SCL script database storage, editing and execution
[simantics/platform.git] / bundles / org.simantics.layer0 / graph / Layer0SCL.pgraph
index 30e3885f439f2e971bcf5fc2dcbe53738e844b01..783f4f401f271affbd497959b5ec60e2806ee6bd 100644 (file)
@@ -23,6 +23,8 @@ L0.Functions.standardChildDomainChildren : L0.ExternalValue
   L0.HasValueType "VariableMap"
 L0.Functions.standardPropertyDomainChildren : L0.ExternalValue
   L0.HasValueType "VariableMap"
+L0.Functions.methodsPropertyDomainProperties : L0.ExternalValue
+  L0.HasValueType "VariableMap"
 L0.Functions.standardClassifications : L0.Function
   L0.HasValueType "[String]"
 
@@ -53,10 +55,19 @@ L0.Functions.clusterValidator : L0.Function
 
 L0.SCLModule <T L0.Entity
     >-- L0.SCLModule.definition --> L0.String <R L0.HasProperty : L0.TotalFunction
-    >-- L0.SCLModule.alias --> L0.String <R L0.HasProperty : L0.TotalFunction
     @L0.assert L0.SCLModule.definition ""
-    @L0.assert L0.SCLModule.alias ""
+
+L0.SCLScript <T L0.Entity
+    >-- L0.SCLScript.definition --> L0.String <R L0.HasProperty : L0.TotalFunction
+    @L0.assert L0.SCLScript.definition ""
+
+L0.Ontology
+    >-- L0.Ontology.defaultLocalName --> L0.String <R L0.HasProperty : L0.TotalFunction
+    @L0.assert L0.Ontology.defaultLocalName ""
 
 L0.entityReplacer ==> "Resource -> Resource -> <WriteGraph> ()" <R L0.HasProperty : L0.FunctionalRelation
     L0.HasDescription """Used for defining an SCL function that knows how to copy the contents from one entity instance to another when both instances are known to be of the same type.
 The first resource parameter is the source entity that will be used to replace the target entity which is defined by the second resource parameter."""
+
+L0.Functions.defaultInstantiateUnder : L0.Function
+    L0.HasValueType "Resource -> Resource -> <WriteGraph> Resource"