X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.diagram.ontology%2Fgraph%2FDiagramScenegraph.pgraph;fp=bundles%2Forg.simantics.diagram.ontology%2Fgraph%2FDiagramScenegraph.pgraph;h=0a7cc33fff20ae08e20360f64a66913cab5574d9;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.diagram.ontology/graph/DiagramScenegraph.pgraph b/bundles/org.simantics.diagram.ontology/graph/DiagramScenegraph.pgraph new file mode 100644 index 000000000..0a7cc33ff --- /dev/null +++ b/bundles/org.simantics.diagram.ontology/graph/DiagramScenegraph.pgraph @@ -0,0 +1,79 @@ +L0 = +L0X = +G2D = +DIA = +SG = +SEL = +DATATYPES = + +DIA.Scenegraph : L0.Library + +DIA.Scenegraph.Node -- DIA.Scenegraph.Composite.transform --> G2D.Transform -- DIA.Scenegraph.AbstractText.color --> DATATYPES.RGB.Integer -- DIA.Scenegraph.AbstractText.font --> DATATYPES.Font -- DIA.Scenegraph.AbstractText.transform --> G2D.Transform "DoubleArray" + >-- DIA.Scenegraph.AbstractText.borderWidth --> L0.Value "Float" + >-- DIA.Scenegraph.AbstractText.borderColor --> DATATYPES.RGB.Integer -- DIA.Scenegraph.AbstractText.backgroundColor --> DATATYPES.RGB.Integer -- DIA.Scenegraph.AbstractText.width --> L0.Value "Float" + >-- DIA.Scenegraph.AbstractText.horizontalAlignment --> L0.Byte "Byte" + >-- DIA.Scenegraph.AbstractText.verticalAlignment --> L0.Byte "Byte" + >-- DIA.Scenegraph.AbstractText.wrapText --> L0.Boolean "Boolean" + @L0.assert DIA.Scenegraph.AbstractText.width + 0.0 : L0.Float + @L0.assert DIA.Scenegraph.AbstractText.borderWidth + -1.0 : L0.Float + @L0.assert DIA.Scenegraph.AbstractText.horizontalAlignment + 0 : L0.Byte + @L0.assert DIA.Scenegraph.AbstractText.verticalAlignment + 0 : L0.Byte + @L0.assert DIA.Scenegraph.AbstractText.transform + [1,0,0,1,0,0] : G2D.Transform + @L0.assert DIA.Scenegraph.AbstractText.wrapText true + +DIA.Scenegraph.Text -- DIA.Scenegraph.Text.text --> L0.Value "String" + @L0.assert DIA.Scenegraph.Text.text "" + +DIA.Scenegraph.Monitor -- DIA.Scenegraph.Monitor.text --> L0.Value "String" + >-- DIA.Scenegraph.Monitor.reference --> L0.Value "String" + >-- DIA.Scenegraph.Monitor.textFieldName --> L0.String "String" + L0.HasLabel "Text Field Name" + L0.HasDescription "A name used for identifying text fields in PDF outputs." + @L0.assert DIA.Scenegraph.Monitor.text + DIA.Functions.referenceText : L0.Function + @L0.assert DIA.Scenegraph.Monitor.textFieldName "" + @L0.assert DIA.Scenegraph.Monitor.reference "" + +DIA.Scenegraph.SVGImage -- DIA.Scenegraph.SVGImage.document --> L0.Value "String" + >-- DIA.Scenegraph.SVGImage.transform --> G2D.Transform