]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph
Add MappedComponent and remove HasSolverRVI
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetwork.pgraph
index 64dbb60f89f6be5c06e581af81842d59145eed79..8b42129cb035cc2fefd4a968268053e77b35daa6 100644 (file)
@@ -60,6 +60,11 @@ DN.Vertex.HasElevation <R L0.HasProperty : SEL.GenericParameterType
     L0.HasLabel "Elevation"
     L0.HasRange L0.Double
     L0.readOnly false
+    
+DN.Vertex.HasAddress <R L0.HasProperty : SEL.GenericParameterType
+    L0.HasLabel "Address"
+    L0.HasRange L0.String
+    L0.readOnly false
 
 DN.Vertex.HasSupplyTemperature <R L0.HasProperty : SEL.GenericParameterType
     L0.HasLabel "Supply Temperature"
@@ -200,8 +205,11 @@ DN.HasInLayerTag <R L0.HasProperty
 
 DN.Connection <T DIA.Connection
 
+// For associating typical diagram source and instance structures with each other
 DN.Diagram.MappedDiagram <R L0.IsWeaklyRelatedTo
+    L0.InverseOf DN.Diagram.MappedFromDiagram <R L0.IsWeaklyRelatedTo
 DN.MappedComponent <R L0.IsWeaklyRelatedTo
+    L0.InverseOf DN.MappedFromElement <R L0.IsWeaklyRelatedTo
 
 DN.Diagram <T DIA.Diagram
 
@@ -315,6 +323,7 @@ DN.Mapping.VertexMapping <T DN.Mapping.Base
     >-- DN.Mapping.VertexMapping.MaximumHeadMAttribute --> L0.String <R L0.HasProperty
     // Consumers
     >-- DN.Mapping.VertexMapping.HeatLoadDsAttribute --> L0.String <R L0.HasProperty
+    >-- DN.Mapping.VertexMapping.AddressAttribute --> L0.String <R L0.HasProperty
     >-- DN.Mapping.VertexMapping.MassFlowAttribute --> L0.String <R L0.HasProperty
     >-- DN.Mapping.VertexMapping.VolFlowAttribute --> L0.String <R L0.HasProperty
     >-- DN.Mapping.VertexMapping.VelocityAttribute --> L0.String <R L0.HasProperty