G2D = <http://www.simantics.org/G2D-1.1>
DN = <http://www.simantics.org/DistrictNetwork-1.0>
-/*
-DN.DistrictProfile : DIA.Profile
- L0.HasLabel "District Network Profile"
- DIA.Profile.priority 0.0
- DIA.HasEntries
- _ : DIA.Profile
- @L0.list
- DN.DistrictProfile.entry1
- L0.HasLabel "Node Coloring"
- @DIA.groupStyleProfileEntry DN.VertexStyle DN.Groups.VertexGroup
- DN.DistrictProfile.entry2
- L0.HasLabel "Edge Styling"
- @DIA.groupStyleProfileEntry DN.EdgeStyle DN.Groups.EdgeGroup
-*/
-
DN.Groups : L0.Library
+DN.DistrictNodeGroup <T DIA.TypeGroup
+ >-- DN.DistrictNodeGroup.hasComponentTypeName ==> "String" <R L0.HasProperty
+
+DN.Groups.ElementGroup : DIA.TypeGroup
+ DIA.TypeGroup.HasType DN.Element
DN.Groups.VertexGroup : DIA.TypeGroup
- DIA.TypeGroup.HasType DN.Vertex
+ DIA.TypeGroup.HasType DN.Vertex
DN.Groups.EdgeGroup : DIA.TypeGroup
- DIA.TypeGroup.HasType DN.Edge
+ DIA.TypeGroup.HasType DN.Edge
+
+// 21.10.2019 by Jani: DNVisualisationStyle deprecates these
+//DN.ElementColoringStyle : DIA.Style
+//DN.ElementSizingStyle : DIA.Style
+
+//DN.ArrowLengthStyle : DIA.Style
+//DN.HideStyle : DIA.Style
+//DN.VertexSymbolStyle : DIA.Style
+//DN.ConnectionLineStyle : DIA.Style
+//DN.ElevationRectangleStyle : DIA.Style
+
+// Style for user component-specified static info text for network branches
+//DN.DistrictNetworkStaticInfoStyle : DIA.Style
-DN.VertexStyle : DIA.Style
-DN.EdgeStyle : DIA.Style
+// Function for dynamic selection of symbols for a vertex
+// The input of the function is a DN.Vertex
+// The output of the function should be SVG
+DN.HasSymbolFunction <R L0.HasProperty
+ <-- DIA.ProfileEntry
+ --> L0.Value
+ ==> "Resource -> <ReadGraph> Maybe String"