]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.district.network.ontology/graph/DistrictNetworkProfiles.pgraph
Move remaining profiles to visualisations for perf
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetworkProfiles.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 DIA = <http://www.simantics.org/Diagram-2.2>
3 STR = <http://www.simantics.org/Structural-1.2>
4 MOD = <http://www.simantics.org/Modeling-1.2>
5 VP = <http://www.simantics.org/Viewpoint-1.2>
6 IMAGE = <http://www.simantics.org/Image2-1.2>
7 SEL = <http://www.simantics.org/SelectionView-1.2>
8 SEL_UI = <http://www.simantics.org/SelectionViewUI-1.1>
9 G2D = <http://www.simantics.org/G2D-1.1>
10 DN = <http://www.simantics.org/DistrictNetwork-1.0>
11
12 DN.Groups : L0.Library
13
14 DN.DistrictNodeGroup <T DIA.TypeGroup
15     >-- DN.DistrictNodeGroup.hasComponentTypeName ==> "String" <R L0.HasProperty
16
17 DN.Groups.ElementGroup : DIA.TypeGroup
18     DIA.TypeGroup.HasType DN.Element
19 DN.Groups.VertexGroup : DIA.TypeGroup
20     DIA.TypeGroup.HasType DN.Vertex
21 DN.Groups.EdgeGroup : DIA.TypeGroup
22     DIA.TypeGroup.HasType DN.Edge
23
24 // 21.10.2019 by Jani: DNVisualisationStyle deprecates these
25 //DN.ElementColoringStyle : DIA.Style
26 //DN.ElementSizingStyle : DIA.Style
27
28 //DN.ArrowLengthStyle : DIA.Style
29 //DN.HideStyle : DIA.Style
30 //DN.VertexSymbolStyle : DIA.Style
31 DN.ConnectionLineStyle : DIA.Style
32 //DN.ElevationRectangleStyle : DIA.Style
33
34 // Style for user component-specified static info text for network branches
35 //DN.DistrictNetworkStaticInfoStyle : DIA.Style
36
37 // Function for dynamic selection of symbols for a vertex
38 // The input of the function is a DN.Vertex
39 // The output of the function should be SVG
40 DN.HasSymbolFunction <R L0.HasProperty
41     <-- DIA.ProfileEntry
42     --> L0.Value
43     ==> "Resource -> <ReadGraph> Maybe String"