]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.diagram.ontology/graph/DiagramRouteGraphConnection.pgraph
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.diagram.ontology / graph / DiagramRouteGraphConnection.pgraph
index 97c14351fd30097fdd6b85c7c8d462b198f67871..acdc27a8d35429186eab8bc0a150dfc5a1a7f5a7 100644 (file)
@@ -1,44 +1,44 @@
-L0 = <http://www.simantics.org/Layer0-1.1>\r
-STR = <http://www.simantics.org/Structural-1.2>\r
-G2D = <http://www.simantics.org/G2D-1.1>\r
-DIA = <http://www.simantics.org/Diagram-2.2>\r
-\r
-// These additions are required to implement new route graph based connection storage in the graph\r
-\r
-// NOTE: we inherit the old connection to break as little old code as possible\r
-DIA.RouteGraphConnection <T DIA.Connection\r
-    @L0.property DIA.HasInteriorRouteNode\r
-\r
-DIA.HasInteriorRouteNode <R L0.IsComposedOf\r
-    L0.HasDomain DIA.Connection\r
-    L0.HasRange DIA.InteriorRouteNode\r
-DIA.HasLocation <R L0.HasProperty : L0.FunctionalRelation\r
-    L0.HasRange G2D.Point2D\r
-DIA.HasRelativeLocation <R L0.HasProperty : L0.FunctionalRelation\r
-    L0.HasRange G2D.Point2D\r
-\r
-DIA.HasPosition <R L0.HasProperty : L0.FunctionalRelation\r
-    L0.HasRange L0.Double\r
-DIA.IsHorizontal <R L0.HasProperty : L0.FunctionalRelation\r
-    L0.HasRange L0.Boolean\r
-\r
-DIA.RouteNode <T L0.Entity\r
-    @L0.property DIA.AreConnected\r
-DIA.InteriorRouteNode <T DIA.RouteNode\r
-DIA.RoutePoint <T DIA.InteriorRouteNode\r
-    @L0.singleProperty DIA.HasLocation\r
-    @L0.assert DIA.HasLocation [0.0,0.0]\r
-DIA.RouteLine <T DIA.InteriorRouteNode\r
-    @L0.singleProperty DIA.HasPosition\r
-    @L0.singleProperty DIA.IsHorizontal\r
-    @L0.assert DIA.HasPosition 0.0\r
-    @L0.assert DIA.IsHorizontal true\r
-\r
-DIA.Connector <T DIA.RouteNode\r
-    // Added DIA.RouteNode inheritance\r
-    @L0.property DIA.HasRelativeLocation\r
-    @L0.assert\r
-        DIA.HasRelativeLocation\r
-        [0.0,0.0] : G2D.Point2D\r
-    >-- DIA.Connector.straight --> L0.Boolean <R L0.HasProperty : L0.FunctionalRelation\r
-    @L0.assert DIA.Connector.straight false\r
+L0 = <http://www.simantics.org/Layer0-1.1>
+STR = <http://www.simantics.org/Structural-1.2>
+G2D = <http://www.simantics.org/G2D-1.1>
+DIA = <http://www.simantics.org/Diagram-2.2>
+
+// These additions are required to implement new route graph based connection storage in the graph
+
+// NOTE: we inherit the old connection to break as little old code as possible
+DIA.RouteGraphConnection <T DIA.Connection
+    @L0.property DIA.HasInteriorRouteNode
+
+DIA.HasInteriorRouteNode <R L0.IsComposedOf
+    L0.HasDomain DIA.Connection
+    L0.HasRange DIA.InteriorRouteNode
+DIA.HasLocation <R L0.HasProperty : L0.FunctionalRelation
+    L0.HasRange G2D.Point2D
+DIA.HasRelativeLocation <R L0.HasProperty : L0.FunctionalRelation
+    L0.HasRange G2D.Point2D
+
+DIA.HasPosition <R L0.HasProperty : L0.FunctionalRelation
+    L0.HasRange L0.Double
+DIA.IsHorizontal <R L0.HasProperty : L0.FunctionalRelation
+    L0.HasRange L0.Boolean
+
+DIA.RouteNode <T L0.Entity
+    @L0.property DIA.AreConnected
+DIA.InteriorRouteNode <T DIA.RouteNode
+DIA.RoutePoint <T DIA.InteriorRouteNode
+    @L0.singleProperty DIA.HasLocation
+    @L0.assert DIA.HasLocation [0.0,0.0]
+DIA.RouteLine <T DIA.InteriorRouteNode
+    @L0.singleProperty DIA.HasPosition
+    @L0.singleProperty DIA.IsHorizontal
+    @L0.assert DIA.HasPosition 0.0
+    @L0.assert DIA.IsHorizontal true
+
+DIA.Connector <T DIA.RouteNode
+    // Added DIA.RouteNode inheritance
+    @L0.property DIA.HasRelativeLocation
+    @L0.assert
+        DIA.HasRelativeLocation
+        [0.0,0.0] : G2D.Point2D
+    >-- DIA.Connector.straight --> L0.Boolean <R L0.HasProperty : L0.FunctionalRelation
+    @L0.assert DIA.Connector.straight false