2. Properties

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 :

If you want to change properties of selected objects, use the check box Filter of the Property tab.

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 :

There is an other solution to modify the value of one node or edge :

Management of instances

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.

Find : make a request.

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.