As it is explained in the last section, it is possible to modify the properties with algorithms. An other solution is to change the values in the property tab of the Info Editor
sub-window.
To give an example, create a graph :
Select the properties you want to change, viewSize
in the local
table for example to manage the size of the nodes. Now, you can change all values or the value of one node.
Click on Set all
, and write the new coordinates : (2.0, 2.0, 2.0)
Click on the line and the second column of the concerned node in the table. Change the values for the width
, the height
and depth
.
If you want to change properties of selected objects, use the check box Filter
of the Property
tab.
Select elements with the mouse toolbar operation or using the Add/Remove Selection item displayed in the right clicking pop-up menu.
Select the property you want to modify : viewLabel
.
Click on the checkbox named Filter
. The selected object just appears in the table above.
Click on Set all
and write the text you want to display : “Hey!”.
If you uncheck Filter
, all nodes are in the table. It is possible to do the same thing with the values of edges. You just have to click on the tab named Edges
.
Set of properties available :
viewColor
: It is chosen with a palette of colors.
viewLabel
: It is a string, you just have to write text.
viewLayout
: This represents the position of the object in the three dimension. X, Y and Z coordinates must be indicated. (e.g. (-1.0,0,1.0)
)
viewMetaGraph
: Contains a link to an other graph. A node can contain a graph. It is not easy to modify the value (identifier of graph) but it is a way to display informations.
viewRotation
: Type a value in degree. The rotation is made counterclockwise around the Z axis.
viewSelection
: This property can take two values : true
or false
. To change a value, just check/uncheck the box in the table.
viewShape
: For the nodes, it determines the shape : Billboard, Cone, Cube, CubeOutlined, Cylinder, HalfCylinder, Sphere, Square, TeaPot. To change it, select an item in the listbox. For the edges, it determines the kind of lines : plain, dash,... It is represented by a number : 0-3 for polylines, 4-7 for Bezier curves and 8-11 for BSpline curves. For each kind of line, the four possible values specify, respectively, plain, point, dash and point dash mixed, display modes.
viewSize
: For nodes, the property is represented by three values : width, height, and depth. For edges, the values correspond to the size of the arrows.
viewTexture
: This property contains the name of the file of the texture you want to apply. The dimensions must be 64x64. It is possible to go through the file system with a double click.
There is an other solution to modify the value of one node or edge :
First select the mouse toolbar operation then select the node or edge you want to modify.
Click on the Element
tab of the Info Editor
sub-window. It displays the informations of the selected elements. Note that the object is not really selected but just for this tab.
The bottom of the Property
sub-window enables to manage the properties. For each graph, as explain before, a set of display properties already exists. If you want to create a new property :
Click on the New
button.
Select the type of property, String
. (other possibilities : Metric, Selection, Layout, Integer, Sizes, Color)
Type the name of the new Property (e.g. mylabel
).
For removing a property, you just have to select the property and click on the button named Remove
. When deleting properties used by the render engine, those properties will be temporary removed from the list but still continue to exist. Note that it is not possible to remove inherited
properties.
The last functionnality is to clone properties. Select the concerned property and click on the button named Clone
. Type the name you have chosen. The new property keeps the values.
The find tool is in the Edit
menu. Make a graph with several nodes. Change some properties of node for making operations. Select nodes, check the Filter
box and select the properties you want to change : viewRotation
. Push on the Set all
button and type a value (20
for example). Now, you have some node with a rotation of 0 degree and some other rotated of 20. So in the Find box :
Select the property used for the request : viewRotation
.
Choose the operation and type a value for the comparaisons : =
and 20
, to find the element rotated of 20 degrees.
Select the action in the Options
part : Add
and the kind of the elements of the request : on nodes
.