]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph
Make optional to calculate elevation for edge during CSV import
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetwork.pgraph
index 657ffc697edcb246eeb45d01da266764b14018f5..e9c52cc71ce56d6fadbd91cb0973ce877ae36006 100644 (file)
@@ -80,6 +80,8 @@ DN.Vertex <T DN.Element
     @L0.assert DN.Vertex.HasElevation 0.0
 
 DN.Edge <T DN.Element
+    >-- DN.Edge.HasElevation
+        @defProperty "Elevation" L0.Double
     >-- DN.Edge.HasLength 
         @defProperty "Length" L0.Double
         L0.readOnly true
@@ -249,4 +251,5 @@ DN.Mapping.EdgeMapping <T DN.Mapping.Base
     >-- DN.Mapping.EdgeMapping.KReturnAttribute --> L0.String <R L0.HasProperty
     >-- DN.Mapping.EdgeMapping.KSupplyAttribute --> L0.String <R L0.HasProperty
     >-- DN.Mapping.EdgeMapping.TGroundAttribute --> L0.String <R L0.HasProperty
+    >-- DN.Mapping.EdgeMapping.ElevationAttribute --> L0.String <R L0.HasProperty
     >-- DN.Mapping.Terminals