]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph
Remove deprecated profiles in favor of DNVisualisationStyle
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetworkDiagramSettings.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 L0X = <http://www.simantics.org/Layer0X-1.1>
3 DIA = <http://www.simantics.org/Diagram-2.2>
4 STR = <http://www.simantics.org/Structural-1.2>
5 MOD = <http://www.simantics.org/Modeling-1.2>
6 VP = <http://www.simantics.org/Viewpoint-1.2>
7 IMAGE = <http://www.simantics.org/Image2-1.2>
8 SEL = <http://www.simantics.org/SelectionView-1.2>
9 SEL_UI = <http://www.simantics.org/SelectionViewUI-1.1>
10 G2D = <http://www.simantics.org/G2D-1.1>
11 DN = <http://www.simantics.org/DistrictNetwork-1.0>
12 DATATYPES = <http://www.simantics.org/Datatypes-1.1>
13
14 // ----------------------------------------------------------------------------
15
16 //DN.ArrowLengthPropertyParameterType <T SEL.GenericParameterType
17 //    @L0.assert SEL.HasDisplayValue
18 //        _ : SEL.DisplayValue
19 //            SEL.HasEnumerationValues DN.Functions.arrowLengthPropertyEnumerationValues : L0.Function
20 //            SEL.HasCustomModifier DN.Functions.arrowLengthPropertyModifier : L0.Function
21
22 //DN.Edge.ArrowLengthProperty <T L0.Value
23 //    @L0.assert L0.ConvertsToValueWith DN.Functions.convertToValue
24 //    >-- DN.Edge.ArrowLengthProperty.value ==> "Resource -> <ReadGraph> Maybe Double" <R L0.HasProperty : SEL.GenericParameterType
25 //        L0.readOnly true
26 //    >-- DN.Edge.ArrowLengthProperty.gain --> L0.Double <R L0.HasProperty : SEL.GenericParameterType
27 //        L0.readOnly true
28 //    >-- DN.Edge.ArrowLengthProperty.bias --> L0.Double <R L0.HasProperty : SEL.GenericParameterType
29 //        L0.readOnly true
30 //    @L0.assert DN.Edge.ArrowLengthProperty.gain 1.0
31 //    @L0.assert DN.Edge.ArrowLengthProperty.bias 0.0
32
33 // these should be deprecated
34 //DN.Edge.ThicknessProperty <T L0.Value
35
36 DN.Diagram
37     >-- DN.Diagram.backgroundColor --> DATATYPES.RGB.Integer <R L0.HasProperty : SEL.ColorParameterType
38         L0.HasLabel "Diagram Background Color"
39     >-- DN.Diagram.drawMapEnabled ==> "Boolean" <R L0.HasProperty : SEL.GenericParameterType
40         L0.HasLabel "Draw Map"
41     >-- DN.Diagram.hasVisualisation --> DN.Diagram.Visualisations <R L0.HasProperty
42         L0.HasLabel "Visualisation"
43     >-- DN.Diagram.hasActiveVisualisation --> DN.Diagram.Visualisations <R L0.HasProperty
44 // Removed by Jani as the intervalled profile update is not currently working
45 //    >-- DN.Diagram.profileUpdateInterval ==> "Long" <R L0.HasProperty : SEL.GenericParameterType
46 //        L0.HasLabel "Profile update interval"
47
48     @L0.assert DN.Diagram.drawMapEnabled true
49 // Removed by Jani as the intervalled profile update is not currently working
50 //    @L0.assert DN.Diagram.profileUpdateInterval
51 //        2000 : L0.Long
52     @L0.assert DN.Diagram.DefaultPipeTechTypeId 0
53
54 // ----------------------------------------------------------------------------
55 // Built-in enumerated ScaleProperty & ThicknessProperty instances
56
57 DN.Functions.constantOne : L0.Function
58     L0.HasValueType "Resource -> <ReadGraph> Maybe Double"
59
60 DN.Functions.hasNominalMassFlowValue : L0.Function
61     L0.HasValueType "Resource -> <ReadGraph> Maybe Double"