X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.layer0%2Fgraph%2FLayer0.pgraph;h=ec2048acbd40d158762430d95b9b0a0e8a78167f;hb=bd8834c00c213045b3967794f5841f5f33bd809c;hp=2a8a24b775211f1789e7d3ea957dab3ae1b2bf22;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git
diff --git a/bundles/org.simantics.layer0/graph/Layer0.pgraph b/bundles/org.simantics.layer0/graph/Layer0.pgraph
index 2a8a24b77..ec2048acb 100644
--- a/bundles/org.simantics.layer0/graph/Layer0.pgraph
+++ b/bundles/org.simantics.layer0/graph/Layer0.pgraph
@@ -1,126 +1,143 @@
- : L0.Library
- @L0.new
- : L0.Library
-L0 = : L0.Ontology
- L0.HasResourceClass "org.simantics.layer0.Layer0"
-
-// Types
-L0.Entity : L0.Type
- L0.HasDescription "All types are inherited from this type."
- >-- L0.InstanceOf --> L0.Type -- L0.HasName --> L0.String -- L0.HasLabel --> L0.Value -- L0.HasDescription --> L0.Value -- L0.identifier L0.GUID
- >-- L0.typeURI L0.String
- >-- L0.HasComment --> L0.String -- L0.ConsistsOf --> L0.Entity -- L0.IsLinkedTo --> L0.Entity -- L0.Entity.published --> L0.Boolean -- L0.Asserts --> L0.Assertion -- L0.Inherits --> L0.Type -- L0.HasPredicate --> L0.Relation -- L0.HasObject --> L0.Entity -- L0.SubrelationOf --> L0.Relation -- L0.InverseOf --> L0.Relation -- L0.HasDomain --> L0.Type -- L0.HasRange --> L0.Type -- L0.Ontology.global L0.Boolean
-
-L0.SharedOntology -- L0.SharedOntology.treatAsSystemOntology --> L0.Boolean -- L0.SharedOntology.tg L0.Graph
- >-- L0.SharedOntology.tgResources L0.ResourceIdArray
-
-L0.ResourceIdArray -- L0.PGraph.definition --> L0.String : L0.Library
+ @L0.new
+ : L0.Library
+L0 = : L0.Ontology
+ L0.HasResourceClass "org.simantics.layer0.Layer0"
+
+// Types
+L0.Entity : L0.Type
+ L0.HasDescription "All types are inherited from this type."
+ >-- L0.InstanceOf --> L0.Type -- L0.HasName --> L0.String -- L0.HasLabel --> L0.Value -- L0.HasDescription --> L0.Value -- L0.identifier L0.GUID
+ >-- L0.typeURI L0.String
+ >-- L0.HasComment --> L0.String -- L0.ConsistsOf --> L0.Entity -- L0.IsLinkedTo --> L0.Entity -- L0.Entity.published --> L0.Boolean -- L0.Entity.methods
+ @L0.assert L0.Entity.methods
+ _ : L0.Value
+
+L0.Entity.methods --> L0.Value -- L0.Asserts --> L0.Assertion -- L0.Inherits --> L0.Type -- L0.Type.instantiateUnder ==> "Resource -> Resource -> Resource" -- L0.HasPredicate --> L0.Relation -- L0.HasObject --> L0.Entity -- L0.SubrelationOf --> L0.Relation -- L0.InverseOf --> L0.Relation -- L0.HasDomain --> L0.Type -- L0.HasRange --> L0.Type -- L0.Ontology.global L0.Boolean
+ >-- L0.Ontology.download --> L0.String -- L0.SharedOntology.treatAsSystemOntology --> L0.Boolean -- L0.SharedOntology.tg L0.Graph
+ >-- L0.SharedOntology.tgResources L0.ResourceIdArray
+
+L0.ResourceIdArray -- L0.PGraph.definition --> L0.String