--- /dev/null
+L0 = <http://www.simantics.org/Layer0-1.1>\r
+L0X = <http://www.simantics.org/Layer0X-1.1>\r
+DIA = <http://www.simantics.org/Diagram-2.2>\r
+TEMPLATE2D = <http://www.simantics.org/ModelingTemplate2d-1.0>\r
+G2D = <http://www.simantics.org/G2D-1.1>\r
+SEL = <http://www.simantics.org/SelectionView-1.2>\r
+\r
+UIFUNC = <http://www.simantics.org/Template2dFunctions-1.0> : L0.Library\r
+ @L0.new\r
+\r
+TEMPLATE2D.Profiles : L0.Library\r
+\r
+\r
+TEMPLATE2D.Profiles.VariableReference <T L0.Value\r
+ >-- TEMPLATE2D.Profiles.VariableReference.path --> L0.String <R L0.HasProperty : L0.FunctionalRelation\r
+ @L0.assert\r
+ L0.ConvertsToValueWith \r
+ UIFUNC.variableReference : L0.ExternalValue\r
+ @L0.assert\r
+ SEL.HasDisplayValue\r
+ _ : L0.Value\r
+ SEL.HasDisplayColumn "HasDisplayValue"\r
+ L0.HasValueType "String"\r
+ L0.ConvertsToValueWith UIFUNC.variableReferencePath : L0.ExternalValue\r
+ SEL.HasCustomModifier UIFUNC.variableReferenceModifier : L0.Function\r
+\r
+\r
+groupStyleEntry : L0.Template\r
+ @template %subject %style %group\r
+ %subject : DIA.GroupStyleProfileEntry\r
+ DIA.ProfileEntry.HasStyle %style\r
+ DIA.ProfileEntry.HasGroup %group\r
+\r
+//-------------------------------------------------------------------------------\r
+// Standard entries\r
+\r
+\r
+TEMPLATE2D.DrawingFlagTableStyle : DIA.Style\r
+TEMPLATE2D.DrawingTemplateStyle : DIA.Style\r
+TEMPLATE2D.DrawingBorderStyle : DIA.Style\r
+\r
+TEMPLATE2D.DiagramGroup : DIA.Group\r
+\r
+\r
+TEMPLATE2D.Profiles.DrawingBorder\r
+ L0.HasLabel "Diagram border"\r
+ @groupStyleEntry TEMPLATE2D.DrawingBorderStyle TEMPLATE2D.DiagramGroup\r
+TEMPLATE2D.Profiles.DrawingFlagTables\r
+ L0.HasLabel "Diagram flag tables"\r
+ @groupStyleEntry TEMPLATE2D.DrawingFlagTableStyle TEMPLATE2D.DiagramGroup\r
+TEMPLATE2D.Profiles.DrawingTemplate\r
+ L0.HasLabel "Diagram template"\r
+ @groupStyleEntry TEMPLATE2D.DrawingTemplateStyle TEMPLATE2D.DiagramGroup\r
+ \r
+ \r
+ \r