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=2e259ef7bee17e801e45266cd05cb0fc46f3a0f9;hpb=fb4e5f02481e918807be83e87239a4d91b4343f2;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 2e259ef7..c3d7cdfe 100644 --- a/org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph +++ b/org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph @@ -13,35 +13,12 @@ DATATYPES = // ---------------------------------------------------------------------------- -DN.EdgeThicknessPropertyParameterType -- DN.Edge.ThicknessProperty.value ==> "Resource -> Maybe Double" -- DN.Edge.ThicknessProperty.gain --> L0.Double -- DN.Edge.ThicknessProperty.bias --> L0.Double -- DN.Edge.ArrowLengthProperty.value ==> "Resource -> Maybe 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.arrowLengthGain ==> "Double" -- DN.Diagram.arrowLengthBias ==> "Double" -- DN.Diagram.arrowLengthProperty --> DN.Edge.ArrowLengthProperty -- DN.Diagram.nodeScaleGain ==> "Double" -- DN.Diagram.nodeScaleBias ==> "Double" -- DN.Diagram.nodeScaleProperty --> DN.Vertex.ScaleProperty -- DN.Diagram.backgroundColor --> DATATYPES.RGB.Integer -- DN.Diagram.drawMapEnabled ==> "Boolean" -- 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.arrowLengthGain 1.0 @L0.assert DN.Diagram.arrowLengthBias 0.0 @L0.assert DN.Diagram.arrowLengthProperty DN.Edge.ArrowLengthProperty.FlowRate - @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.drawMapEnabled true @L0.assert DN.Diagram.profileUpdateInterval 2000 : L0.Long @@ -141,46 +67,8 @@ DN.Functions.constantOne : L0.Function DN.Functions.hasNominalMassFlowValue : 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.Edge.ThicknessProperty.FlowRate : DN.Edge.ThicknessProperty - L0.HasLabel "Nominal Mass Flow" - DN.Edge.ThicknessProperty.value - DN.Functions.hasNominalMassFlowValue - DN.Edge.ThicknessProperty.gain 0.1 - 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 - -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.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