X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.district.network.ontology%2Fgraph%2FDistrictNetworkDiagramSettings.pgraph;h=c3d7cdfe1d451d4546a33a2492e24bb5bd2f7fc2;hb=607611b465ee7737db9489d21d261ff793692b89;hp=8abc05deed5a9c0229a8ad6b744a877ca9d116b0;hpb=8958c9b265fc6a842c76714b60f0d99740434243;p=simantics%2Fdistrict.git diff --git a/org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph b/org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph index 8abc05de..c3d7cdfe 100644 --- a/org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph +++ b/org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph @@ -13,94 +13,50 @@ DATATYPES = // ---------------------------------------------------------------------------- -DN.EdgeThicknessPropertyParameterType -- DN.Edge.ThicknessProperty.value ==> "Resource -> Maybe Double" -- DN.Edge.ArrowLengthProperty.value ==> "Resource -> Maybe Double" -- DN.Edge.ThicknessProperty.gain --> L0.Double -- DN.Edge.ArrowLengthProperty.gain --> L0.Double -- DN.Edge.ThicknessProperty.bias --> L0.Double -- DN.Edge.ArrowLengthProperty.bias --> L0.Double -- DN.Vertex.ScaleProperty.value ==> "Resource -> Maybe Double" -- DN.Vertex.ScaleProperty.gain ==> "Double" -- DN.Vertex.ScaleProperty.bias ==> "Double" -- DN.Diagram.elementColoringGradientHue ==> "Float" -- DN.Diagram.elementColoringGradientSaturation ==> "Float" -- DN.Diagram.elementColoringFunction --> L0.String ==> "Resource -> Double" -- DN.Diagram.edgeThicknessGain ==> "Double" -- DN.Diagram.edgeThicknessBias ==> "Double" -- DN.Diagram.edgeThicknessProperty --> DN.Edge.ThicknessProperty -- DN.Diagram.nodeScaleGain ==> "Double" -- DN.Diagram.nodeScaleBias ==> "Double" -- DN.Diagram.nodeScaleProperty --> DN.Vertex.ScaleProperty -- DN.Diagram.arrowLengthGain ==> "Double" -- DN.Diagram.arrowLengthBias ==> "Double" -- DN.Diagram.arrowLengthProperty --> DN.Edge.ArrowLengthProperty -- DN.Diagram.backgroundColor --> DATATYPES.RGB.Integer -- DN.Diagram.drawMapEnabled ==> "Boolean" -- DN.Diagram.hasVisualisation --> DN.Diagram.Visualisations -- DN.Diagram.hasActiveVisualisation --> DN.Diagram.Visualisations -- DN.Diagram.profileUpdateInterval ==> "Long" 1.0" "Resource -> Double" - @L0.assert DN.Diagram.edgeThicknessGain 1.0 - @L0.assert DN.Diagram.edgeThicknessBias 0.0 - @L0.assert DN.Diagram.edgeThicknessProperty DN.Edge.ThicknessProperty.Diameter - @L0.assert DN.Diagram.nodeScaleGain 1.0 - @L0.assert DN.Diagram.nodeScaleBias 0.0 - @L0.assert DN.Diagram.nodeScaleProperty DN.Vertex.ScaleProperty.NominalSupplyPressure + + @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 + @L0.assert DN.Diagram.DefaultPipeTechTypeId 0 // ---------------------------------------------------------------------------- // Built-in enumerated ScaleProperty & ThicknessProperty instances @@ -108,35 +64,11 @@ DN.Diagram DN.Functions.constantOne : L0.Function L0.HasValueType "Resource -> Maybe Double" -DN.Edge.ThicknessProperty.OnlyGainAndBias: DN.Edge.ThicknessProperty - L0.HasLabel "Only Gain and Bias" - DN.Edge.ThicknessProperty.value - DN.Functions.constantOne - -DN.Edge.ThicknessProperty.Diameter : DN.Edge.ThicknessProperty - L0.HasLabel "Diameter" - DN.Edge.ThicknessProperty.value - DN.Functions.hasDiameterValue : L0.Function - L0.HasValueType "Resource -> Maybe Double" - DN.Edge.ThicknessProperty.gain 0.001 - - -DN.Vertex.ScaleProperty.OnlyGainAndBias: DN.Vertex.ScaleProperty - L0.HasLabel "Only Gain and Bias" - DN.Vertex.ScaleProperty.value - DN.Functions.constantOne - -DN.Vertex.ScaleProperty.NominalSupplyPressure : DN.Vertex.ScaleProperty - L0.HasLabel "Nominal Supply Pressure" - DN.Vertex.ScaleProperty.value - DN.Functions.hasNominalSupplyPressure : L0.Function - L0.HasValueType "Resource -> Maybe Double" - DN.Vertex.ScaleProperty.gain 0.001 +DN.Functions.hasNominalMassFlowValue : L0.Function + L0.HasValueType "Resource -> Maybe Double" -DN.Vertex.ScaleProperty.Elevation : DN.Vertex.ScaleProperty - L0.HasLabel "Elevation" - DN.Vertex.ScaleProperty.value - DN.Functions.hasElevation : L0.Function - L0.HasValueType "Resource -> Maybe Double" - DN.Vertex.ScaleProperty.gain 0.1 - DN.Vertex.ScaleProperty.bias 0.001 +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