]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph
Optimization of district scene graph node rendering
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetworkDiagramSettings.pgraph
index c3d7cdfe1d451d4546a33a2492e24bb5bd2f7fc2..0c7acb2487c192ddda54d43601dc17c2f725e03c 100644 (file)
@@ -34,12 +34,6 @@ DN.Edge.ArrowLengthProperty <T L0.Value
 DN.Edge.ThicknessProperty <T L0.Value
 
 DN.Diagram
-    >-- DN.Diagram.arrowLengthGain ==> "Double" <R L0.HasProperty : SEL.GenericParameterType
-        L0.HasLabel "Arrow Length Gain"
-    >-- DN.Diagram.arrowLengthBias ==> "Double" <R L0.HasProperty : SEL.GenericParameterType
-        L0.HasLabel "Arrow Length Bias"
-    >-- DN.Diagram.arrowLengthProperty --> DN.Edge.ArrowLengthProperty <R L0.HasProperty : DN.ArrowLengthPropertyParameterType
-        L0.HasLabel "Arrow Length Property"
     >-- DN.Diagram.backgroundColor --> DATATYPES.RGB.Integer <R L0.HasProperty : SEL.ColorParameterType
         L0.HasLabel "Diagram Background Color"
     >-- DN.Diagram.drawMapEnabled ==> "Boolean" <R L0.HasProperty : SEL.GenericParameterType
@@ -47,15 +41,14 @@ DN.Diagram
     >-- DN.Diagram.hasVisualisation --> DN.Diagram.Visualisations <R L0.HasProperty
         L0.HasLabel "Visualisation"
     >-- DN.Diagram.hasActiveVisualisation --> DN.Diagram.Visualisations <R L0.HasProperty
-    >-- DN.Diagram.profileUpdateInterval ==> "Long" <R L0.HasProperty : SEL.GenericParameterType
-        L0.HasLabel "Profile update interval"
+// Removed by Jani as the intervalled profile update is not currently working
+//    >-- DN.Diagram.profileUpdateInterval ==> "Long" <R L0.HasProperty : SEL.GenericParameterType
+//        L0.HasLabel "Profile update interval"
 
-    @L0.assert DN.Diagram.arrowLengthGain 1.0
-    @L0.assert DN.Diagram.arrowLengthBias 0.0
-    @L0.assert DN.Diagram.arrowLengthProperty DN.Edge.ArrowLengthProperty.FlowRate
     @L0.assert DN.Diagram.drawMapEnabled true
-    @L0.assert DN.Diagram.profileUpdateInterval
-        2000 : L0.Long
+// Removed by Jani as the intervalled profile update is not currently working
+//    @L0.assert DN.Diagram.profileUpdateInterval
+//        2000 : L0.Long
     @L0.assert DN.Diagram.DefaultPipeTechTypeId 0
 
 // ----------------------------------------------------------------------------
@@ -66,9 +59,3 @@ DN.Functions.constantOne : L0.Function
 
 DN.Functions.hasNominalMassFlowValue : L0.Function
     L0.HasValueType "Resource -> <ReadGraph> Maybe Double"
-
-DN.Edge.ArrowLengthProperty.FlowRate : DN.Edge.ArrowLengthProperty
-    L0.HasLabel "Nominal Mass Flow"
-    DN.Edge.ArrowLengthProperty.value
-        DN.Functions.hasNominalMassFlowValue
-    DN.Edge.ArrowLengthProperty.gain 1.0