]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.structural.ontology/graph/Structural.pgraph
Define ConnectionRelationType to make searching of instances possible
[simantics/platform.git] / bundles / org.simantics.structural.ontology / graph / Structural.pgraph
index fa0624ce75605b8ccc8b82b161b881071cb4e0cd..cf6f05ab2a087fcf9b2edac0178d415b97841ae4 100644 (file)
@@ -113,7 +113,9 @@ STR.ConnectionVariable <T STR.Variable <T STR.Connection
 STR.Functions.connectionValueAccessor : L0.ExternalValue
     L0.HasValueType "ValueAccessor"
 
-STR.ConnectionRelation <T L0.Relation
+STR.ConnectionRelationType <T L0.Type
+
+STR.ConnectionRelation <T L0.Relation : STR.ConnectionRelationType
     @L0.assert L0.SharedRange STR.ConnectionRelation
     >-- STR.ConnectionRelation.connectionRequired --> L0.Boolean <R L0.HasProperty : L0.FunctionalRelation
     >-- STR.ConnectionRelation.equivalentConnectionPoint --> STR.ConnectionRelation <R L0.IsRelatedTo