X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=inline;f=bundles%2Forg.simantics.layer0%2Fgraph%2FLayer0.pgraph;h=225a4f17ee79c075da4c75164749dec77de459dc;hb=refs%2Fchanges%2F81%2F2381%2F1;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..225a4f17e 100644
--- a/bundles/org.simantics.layer0/graph/Layer0.pgraph
+++ b/bundles/org.simantics.layer0/graph/Layer0.pgraph
@@ -1,126 +1,147 @@
- : 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
+ ==> "GUID"
+ >-- L0.typeURI L0.String
+ >-- L0.typeResource "Variable -> Resource -> Resource"
+ >-- 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 ==> "StructuredProperty" -- 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