Child pages
  • Class Management

Contents

The classes allow defining sets of nodes which have common properties. That makes it possible to gather variables according to their given sense, for example. The node can belong to several classes at the same time. Once these classes defined, it is possible to apply certain properties to each node composing a class. Through the interface, it is possible to give a color, an image, a temporal index or a cost to the nodes of a class. These classes of nodes can be also used in the edition of the forbidden arcs: it is possible to forbid arcs between two classes of nodes, a node and a class and a class and a node.

Class Editor

The class editor is accessible by the contextual menu associated with the graph. The table shows the list of the classes with the number of nodes they contain. It is possible to rename a class by double- clicking on its name in the table.

 


The table is sortable by clicking on the header of each column.

Add a Class

The Add button displays the following dialog box in order to enter the name of the class, which must be different from the others:

 


Once a valid name is entered, you have to select the nodes that you want to add in the class:



Modify a Class

The Modify button displays a dialog box which is the same as the previous one and that allows managing the content of the class. It is possible to add or remove nodes from this class. If no node remains and you validate, the class will be deleted.

Delete a Class

The Delete button removes all the classes selected in the table.

Apply a Color


The Color button displays the following dialog box in order to associate a chosen color with the nodes of the selected classes if the first checkbox is selected or to associate a distinct color with each selected class if the last checkbox is selected. In this case, a random color will be associated with the nodes of each class. If no checkbox is selected, the color of the nodes will be removed.

 


Apply an Image

The Image button displays the following dialog box in order to associate a chosen image with the nodes of the selected classes. If the checkbox is not selected, the images of the nodes will be removed.

 


Apply a Temporal Index


The Temporal index button displays the following dialog box in order to associate a temporal index with the nodes of the selected classes. If the checkbox is not selected, the temporal indices of the nodes will be removed.

 


Apply a Cost

The Cost button displays the following dialog box in order to associate a cost with the nodes of the selected classes. If the checkbox is not selected, the nodes will be not observable.

 


Note


It is not the classes to which these properties are applied but to the nodes contained in these classes at the time when these properties are applied. If a node is added to a class after having applied a property, this node will not have this property.