1 L0 = <http://www.simantics.org/Layer0-1.1>
2 STR = <http://www.simantics.org/Structural-1.2>
3 G2D = <http://www.simantics.org/G2D-1.1>
4 DIA = <http://www.simantics.org/Diagram-2.2>
6 // These additions are required to implement new route graph based connection storage in the graph
8 // NOTE: we inherit the old connection to break as little old code as possible
9 DIA.RouteGraphConnection <T DIA.Connection
10 @L0.property DIA.HasInteriorRouteNode
11 @L0.property DIA.CommandBasedSynchronization
13 DIA.HasInteriorRouteNode <R L0.IsComposedOf
14 L0.HasDomain DIA.Connection
15 L0.HasRange DIA.InteriorRouteNode
16 DIA.HasLocation <R L0.HasProperty : L0.FunctionalRelation
17 L0.HasRange G2D.Point2D
18 DIA.HasRelativeLocation <R L0.HasProperty : L0.FunctionalRelation
19 L0.HasRange G2D.Point2D
21 DIA.HasPosition <R L0.HasProperty : L0.FunctionalRelation
23 DIA.IsHorizontal <R L0.HasProperty : L0.FunctionalRelation
24 L0.HasRange L0.Boolean
26 DIA.CommandBasedSynchronization
29 DIA.RouteNode <T L0.Entity
30 @L0.property DIA.AreConnected
31 DIA.InteriorRouteNode <T DIA.RouteNode
32 DIA.RoutePoint <T DIA.InteriorRouteNode
33 @L0.singleProperty DIA.HasLocation
34 @L0.assert DIA.HasLocation [0.0,0.0]
35 DIA.RouteLine <T DIA.InteriorRouteNode
36 @L0.singleProperty DIA.HasPosition
37 @L0.singleProperty DIA.IsHorizontal
38 @L0.assert DIA.HasPosition 0.0
39 @L0.assert DIA.IsHorizontal true
41 DIA.Connector <T DIA.RouteNode
42 // Added DIA.RouteNode inheritance
43 @L0.property DIA.HasRelativeLocation
45 DIA.HasRelativeLocation
46 [0.0,0.0] : G2D.Point2D
47 >-- DIA.Connector.straight --> L0.Boolean <R L0.HasProperty : L0.FunctionalRelation
48 @L0.assert DIA.Connector.straight false