]> gerrit.simantics Code Review - simantics/district.git/blobdiff - 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
index ac1cf19fd3ec67b24a986b071656ed89ea0319f7..a5c5cee59b445966d6c01034e43c20dead2ffcd8 100644 (file)
@@ -23,3 +23,12 @@ DN.ElementColoringStyle : DIA.Style
 DN.VertexSizeStyle : DIA.Style
 DN.EdgeThicknessStyle : DIA.Style
 DN.HideStyle : DIA.Style
+DN.VertexSymbolStyle : 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"