]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.diagram.ontology/graph/DiagramScenegraph.pgraph
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.diagram.ontology / graph / DiagramScenegraph.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 L0X = <http://www.simantics.org/Layer0X-1.1>
3 G2D = <http://www.simantics.org/G2D-1.1>
4 DIA = <http://www.simantics.org/Diagram-2.2>
5 SG = <http://www.simantics.org/Scenegraph-1.1>
6 SEL = <http://www.simantics.org/SelectionView-1.2>
7 DATATYPES = <http://www.simantics.org/Datatypes-1.1>
8
9 DIA.Scenegraph : L0.Library
10
11 DIA.Scenegraph.Node <T SG.Node
12
13 DIA.Scenegraph.Composite <T DIA.Scenegraph.Node
14   >-- DIA.Scenegraph.Composite.transform --> G2D.Transform <R SG.Node.HasProperty : SEL.GenericParameterType
15     ==> "Vector Double"
16
17 DIA.Scenegraph.Component <T DIA.Scenegraph.Node
18
19 //DIA.Scenegraph.AbstractText.HAlignment <T L0.Value
20 //    @L0.tag L0.Enumeration
21
22 //DIA.Scenegraph.AbstractText.HAlignment.Center : DIA.Scenegraph.AbstractText.HAlignment
23 //DIA.Scenegraph.AbstractText.HAlignment.Left : DIA.Scenegraph.AbstractText.HAlignment
24 //DIA.Scenegraph.AbstractText.HAlignment.Right : DIA.Scenegraph.AbstractText.HAlignment
25
26 DIA.Scenegraph.AbstractText <T DIA.Scenegraph.Component
27   >-- DIA.Scenegraph.AbstractText.color --> DATATYPES.RGB.Integer <R SG.Node.HasProperty : SEL.ColorParameterType
28   >-- DIA.Scenegraph.AbstractText.font --> DATATYPES.Font <R SG.Node.HasProperty : SEL.FontParameterType
29   >-- DIA.Scenegraph.AbstractText.transform --> G2D.Transform <R SG.Node.HasProperty : SEL.GenericParameterType
30     ==> "Vector Double"
31   >-- DIA.Scenegraph.AbstractText.borderWidth --> L0.Value <R SG.Node.HasProperty : SEL.GenericParameterType
32     ==> "Float"
33   >-- DIA.Scenegraph.AbstractText.borderColor --> DATATYPES.RGB.Integer <R SG.Node.HasProperty : SEL.ColorParameterType
34   >-- DIA.Scenegraph.AbstractText.backgroundColor --> DATATYPES.RGB.Integer <R SG.Node.HasProperty : SEL.ColorParameterType
35   >-- DIA.Scenegraph.AbstractText.width --> L0.Value <R SG.Node.HasProperty : SEL.GenericParameterType
36       ==> "Float"
37   >-- DIA.Scenegraph.AbstractText.horizontalAlignment --> L0.Byte <R SG.Node.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
38     ==> "Byte"
39   >-- DIA.Scenegraph.AbstractText.verticalAlignment --> L0.Byte <R SG.Node.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
40     ==> "Byte"
41   >-- DIA.Scenegraph.AbstractText.wrapText --> L0.Boolean <R SG.Node.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
42     ==> "Boolean"
43   @L0.assert DIA.Scenegraph.AbstractText.width
44     0.0 : L0.Float
45   @L0.assert DIA.Scenegraph.AbstractText.borderWidth
46     -1.0 : L0.Float
47   @L0.assert DIA.Scenegraph.AbstractText.horizontalAlignment
48     0 : L0.Byte
49   @L0.assert DIA.Scenegraph.AbstractText.verticalAlignment
50     0 : L0.Byte
51   @L0.assert DIA.Scenegraph.AbstractText.transform
52     [1,0,0,1,0,0] : G2D.Transform
53   @L0.assert DIA.Scenegraph.AbstractText.wrapText true
54
55 DIA.Scenegraph.Text <T DIA.Scenegraph.AbstractText
56   >-- DIA.Scenegraph.Text.text --> L0.Value <R SG.Node.HasProperty : SEL.GenericParameterType
57     ==> "String"
58   @L0.assert DIA.Scenegraph.Text.text ""
59
60 DIA.Scenegraph.Monitor <T DIA.Scenegraph.AbstractText
61   >-- DIA.Scenegraph.Monitor.text --> L0.Value <R SG.Node.HasProperty : L0.FunctionalRelation
62     ==> "String"
63   >-- DIA.Scenegraph.Monitor.reference --> L0.Value <R L0.HasProperty : SEL.GenericParameterType
64     ==> "String"
65   >-- DIA.Scenegraph.Monitor.textFieldName --> L0.String <R L0.HasProperty : SEL.GenericParameterType
66     ==> "String"
67     L0.HasLabel "Text Field Name"
68     L0.HasDescription "A name used for identifying text fields in PDF outputs."
69   @L0.assert DIA.Scenegraph.Monitor.text 
70     DIA.Functions.referenceText : L0.Function
71   @L0.assert DIA.Scenegraph.Monitor.textFieldName ""
72   @L0.assert DIA.Scenegraph.Monitor.reference ""
73
74 DIA.Scenegraph.SVGImage <T DIA.Scenegraph.Component
75   >-- DIA.Scenegraph.SVGImage.document --> L0.Value <R SG.Node.HasProperty : SEL.GenericParameterType
76     ==> "String"
77   >-- DIA.Scenegraph.SVGImage.transform --> G2D.Transform <R SG.Node.HasProperty : SEL.GenericParameterType
78     ==> "Vector Double"
79   @L0.assert DIA.Scenegraph.SVGImage.transform
80     [1,0,0,1,0,0] : G2D.Transform
81