]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ontology/graph/DistrictNetworkProfiles.pgraph
DynamicVisualisations enhancements & deprecate old profiles & settings
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetworkProfiles.pgraph
index 773ddd300212727fd3a8d869bd9aeebf042ea467..496c9c582de5bb721640360721792940b0b57e87 100644 (file)
@@ -19,6 +19,27 @@ DN.Groups.VertexGroup : DIA.TypeGroup
 DN.Groups.EdgeGroup : DIA.TypeGroup
     DIA.TypeGroup.HasType DN.Edge
 
-DN.VertexSizeStyle : DIA.Style
-DN.EdgeThicknessStyle : DIA.Style
+DN.ElementColoringStyle : DIA.Style
+DN.ElementSizingStyle : DIA.Style
+// These are deprecated in favor of new dynamic visualisations
+//DN.VertexSizeStyle : DIA.Style
+//DN.EdgeThicknessStyle : 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 text grid entries
+DN.DistrictNetworkHoverInfoStyle : DIA.Style
+
+// Style for user component-specified static info text for network branches
+DN.DistrictNetworkStaticInfoStyle : 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"