X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.district.network.ontology%2Fgraph%2FDistrictNetworkDiagramSettings.pgraph;fp=org.simantics.district.network.ontology%2Fgraph%2FDistrictNetworkDiagramSettings.pgraph;h=0ca711a12d282d61356a76bc0e9c7cbdf3c6d02e;hb=00803fe68b14b5dce310a5a88b9c2a55bd1c85e6;hp=10744ea144927aa7120f9d87fd947ba9fa5231c2;hpb=b654d9f368d601565303bcf646fc4fbdfbc37090;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..0ca711a1 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 = @@ -46,6 +47,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 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 @@ -68,11 +95,13 @@ DN.Diagram // ---------------------------------------------------------------------------- // 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 +114,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"