QPR Knowledge Base 2014.1

Graphical Properties in QPR Modeling Client's XML Import

Graphical Properties in QPR Modeling Client's XML Import

Previous topic Next topic  

Graphical Properties in QPR Modeling Client's XML Import

Previous topic Next topic JavaScript is required for the print function  

The XML Import in QPR Modeling Client supports the import of basic graphical properties such as colors, size and position of an element as well as the modeling direction of the diagram.

 

In order to have the graphical properties imported, the integration settings files (see chapter Integration Settings Files) need to have the [parameters] section key ImportGraphicalProperties=true. This setting is not asked in the Import Wizard, so it must be input manually into the settings files.

 

An example of graphical properties in XML (the width, height and position of an instance):

 

     <Attribute AttibuteName="Instance graphical properties">

       <Record>

         <Field Name="InstanceId" Value="1" />

         <Field Name="ElementWidth" Value="100" />

         <Field Name="ElementHeight" Value="50" />

         <Field Name="ElementPosX" Value="200" />

         <Field Name="ElementPosY" Value="15" />

       </Record>

    </Attribute>