]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ontology/graph/DistrictNetworkProfiles.pgraph
Added Edge.ThicknessProperty for generic edge-thickness styling
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetworkProfiles.pgraph
diff --git a/org.simantics.district.network.ontology/graph/DistrictNetworkProfiles.pgraph b/org.simantics.district.network.ontology/graph/DistrictNetworkProfiles.pgraph
new file mode 100644 (file)
index 0000000..d00bf42
--- /dev/null
@@ -0,0 +1,35 @@
+L0 = <http://www.simantics.org/Layer0-1.1>
+DIA = <http://www.simantics.org/Diagram-2.2>
+STR = <http://www.simantics.org/Structural-1.2>
+MOD = <http://www.simantics.org/Modeling-1.2>
+VP = <http://www.simantics.org/Viewpoint-1.2>
+IMAGE = <http://www.simantics.org/Image2-1.2>
+SEL = <http://www.simantics.org/SelectionView-1.2>
+SEL_UI = <http://www.simantics.org/SelectionViewUI-1.1>
+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.Groups.VertexGroup : DIA.TypeGroup
+  DIA.TypeGroup.HasType DN.Vertex
+DN.Groups.EdgeGroup : DIA.TypeGroup
+  DIA.TypeGroup.HasType DN.Edge
+
+DN.VertexStyle : DIA.Style
+DN.EdgeStyle : DIA.Style