X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.district.network.ontology%2Fgraph%2FDistrictNetworkDiagramSettings.pgraph;h=8abc05deed5a9c0229a8ad6b744a877ca9d116b0;hb=d0545b1d11197b928b21513dc0cc792185040342;hp=10744ea144927aa7120f9d87fd947ba9fa5231c2;hpb=29914be09d4a237840e5c793bdb562ec83093b8d;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 10744ea1..8abc05de 100644 --- a/org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph +++ b/org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph @@ -1,4 +1,5 @@ L0 = +L0X = DIA = STR = MOD = @@ -8,6 +9,7 @@ SEL = SEL_UI = G2D = DN = +DATATYPES = // ---------------------------------------------------------------------------- @@ -46,6 +48,25 @@ DN.Vertex.ScaleProperty -- 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.nodeScaleProperty --> DN.Vertex.ScaleProperty -- DN.Diagram.backgroundColor --> DATATYPES.RGB.Integer -- DN.Diagram.drawMapEnabled ==> "Boolean" -- 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.drawMapEnabled true + @L0.assert DN.Diagram.profileUpdateInterval + 2000 : L0.Long // ---------------------------------------------------------------------------- // Built-in enumerated ScaleProperty & ThicknessProperty instances +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 : L0.Function - L0.HasValueType "Resource -> Maybe Double" + DN.Functions.constantOne DN.Edge.ThicknessProperty.Diameter : DN.Edge.ThicknessProperty L0.HasLabel "Diameter" @@ -85,8 +124,7 @@ DN.Edge.ThicknessProperty.Diameter : DN.Edge.ThicknessProperty DN.Vertex.ScaleProperty.OnlyGainAndBias: DN.Vertex.ScaleProperty L0.HasLabel "Only Gain and Bias" DN.Vertex.ScaleProperty.value - DN.Functions.constantOne : L0.Function - L0.HasValueType "Resource -> Maybe Double" + DN.Functions.constantOne DN.Vertex.ScaleProperty.NominalSupplyPressure : DN.Vertex.ScaleProperty L0.HasLabel "Nominal Supply Pressure"