]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.district.network.ontology/graph/DistrictNetworkProfiles.pgraph
Value type of dynamic symbol function to Maybe String
[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.VertexGroup : DIA.TypeGroup
18     DIA.TypeGroup.HasType DN.Vertex
19 DN.Groups.EdgeGroup : DIA.TypeGroup
20     DIA.TypeGroup.HasType DN.Edge
21
22 DN.ElementColoringStyle : DIA.Style
23 DN.VertexSizeStyle : DIA.Style
24 DN.EdgeThicknessStyle : DIA.Style
25 DN.HideStyle : DIA.Style
26 DN.VertexSymbolStyle : DIA.Style
27
28 // Function for dynamic selection of symbols for a vertex
29 // The input of the function is a DN.Vertex
30 // The output of the function should be SVG
31 DN.HasSymbolFunction <R L0.HasProperty
32     <-- DIA.ProfileEntry
33     --> L0.Value
34     ==> "Resource -> <ReadGraph> Maybe String"