]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph
Dynamic Visualisations view improvements & profile refactoring
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetworkDiagramSettings.pgraph
index 2a735b4210846cf3bd42ed662b3ee7672bab56e4..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
@@ -51,9 +45,6 @@ DN.Diagram
 //    >-- 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
 // Removed by Jani as the intervalled profile update is not currently working
 //    @L0.assert DN.Diagram.profileUpdateInterval
@@ -68,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