]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.layer0/graph/Layer0Templates.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.layer0 / graph / Layer0Templates.pgraph
diff --git a/bundles/org.simantics.layer0/graph/Layer0Templates.pgraph b/bundles/org.simantics.layer0/graph/Layer0Templates.pgraph
new file mode 100644 (file)
index 0000000..1106913
--- /dev/null
@@ -0,0 +1,43 @@
+L0 = <http://www.simantics.org/Layer0-1.1>\r
+\r
+L0.assert : L0.Template \r
+    @template %type %predicate %object\r
+        %type\r
+            L0.Asserts _ : L0.Assertion\r
+                L0.HasPredicate %predicate\r
+                L0.HasObject    %object\r
+L0.property : L0.Template\r
+    @template %type %relation\r
+        %type\r
+            L0.HasPropertyDefinition _ : L0.PropertyDefinition\r
+                L0.ConcernsRelation %relation\r
+L0.singleProperty : L0.Template\r
+    @template %type %relation\r
+        %type \r
+            L0.HasPropertyDefinition _ : L0.PropertyDefinition\r
+                L0.ConcernsRelation %relation\r
+                L0.HasCardinalityRange L0.Cardinality1\r
+L0.singlePropertyDefault : L0.Template\r
+    @template %type %relation %default\r
+        %type \r
+            L0.HasPropertyDefinition _ : L0.PropertyDefinition\r
+                L0.ConcernsRelation %relation\r
+                L0.HasCardinalityRange L0.Cardinality1\r
+            L0.Asserts _ : L0.Assertion\r
+                L0.HasPredicate %relation\r
+                L0.HasObject %default\r
+L0.optionalProperty : L0.Template\r
+    @template %type %relation\r
+        %type \r
+            L0.HasPropertyDefinition _ : L0.PropertyDefinition\r
+                L0.ConcernsRelation %relation\r
+                L0.HasCardinalityRange L0.CardinalityAtMost1\r
+L0.symmetric : L0.Template\r
+    @template %relation \r
+        %relation L0.InverseOf %relation\r
+L0.tag : L0.Template\r
+    @template %resource %tag\r
+        %resource %tag %resource\r
+L0.defTag : L0.Template\r
+    @template %resource\r
+        %resource <R L0.IsWeaklyRelatedTo : L0.Tag                
\ No newline at end of file