]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ontology/graph/DistrictNetworkProfiles.pgraph
Connection lines for control inputs.
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetworkProfiles.pgraph
index 773ddd300212727fd3a8d869bd9aeebf042ea467..54700829336935bb9a8d9ea2cc2d0adc88a7a72f 100644 (file)
@@ -19,6 +19,17 @@ DN.Groups.VertexGroup : DIA.TypeGroup
 DN.Groups.EdgeGroup : DIA.TypeGroup
     DIA.TypeGroup.HasType DN.Edge
 
+DN.ElementColoringStyle : DIA.Style
 DN.VertexSizeStyle : DIA.Style
 DN.EdgeThicknessStyle : DIA.Style
 DN.HideStyle : DIA.Style
+DN.VertexSymbolStyle : DIA.Style
+DN.ConnectionLineStyle : 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"