Chapter 4. Tutorials

Table of Contents

1. First Step
First display
Save options
Algorithms
2. Properties
Management of instances
Find : make a request.
3. SubGraphs and Groups
4. Labels Formatted
5. Statistics Panel (available in experimental version)
Introduction
Scatter plot and Histogram computation
Statistics values and Augmented displays
Clustering with the statistics panel
Conclusion

1. First Step

In this part, the goal is to help you to simply make a graph and to save your work.

First display

Importation of a graph

  • Select the File -> Import item.

  • Select a method of importation : Grid approximation, for example.

Do not modify the default parameters. Here is displayed the graph with nodes (red) and edges (black). With the wheel of the mouse, you can zoom on the graph to see a specific node. In moving the mouse with its left button pressed, you can translate the graph in the plane of the view, pressing the key SHIFT for rotation and the key CTRL to rotate around the z axis and zoom. In order to come back to the oldest view, Select View -> Center view from the menu bar.

  • Select Property -> Metric -> Id from the menu bar, to compute a value (metric) for each node and edge of the graph.

The graph is now displayed with colors depending of the metric. You can change the colors with the menu : Property -> Colors. The choice of Distribution computes the color on the entire palette. The second choice, Metric mapping, compute an interpolation between the two selected colors.

Creation of a graph

In this section, we learn how to create its own graph, object by object.

  • Select the File -> New from the menu bar to create a new view for the graph.

  • Create a graph adding nodes and edges. For a node, select the mouse toolbar operation and click on the position you have chosen. To insert an edge, select the mouse toolbar operation. Click on the source node, then on the target node. You can display or hide them with Edges checkbox in the Overview sub-window. In the same way, you can display or hide the arrows checking Arrows in the subwindow Overview too.

  • Delete elements of the graph. Select the mouse toolbar operation, then click on the element you want to delete.

Save options

To save your work, you just have to select File -> Save or Save as, type the name of the file and choose the path.

The second way to make a save is to export in a special format : GML or tlp. Select File -> Export and your choice, then choose the name of your file.

Algorithms

This part explains how to apply an algorithm to a graph. Then, you have made or imported a graph. Select Property -> Layout (for example) and an algorithm : Hierarchical Graph for example.

In this case, we used an algorithm dealing with the layout of the nodes and the edges. It is possible to apply all other kinds of algorithm. Some layout algorithms may not apply to your graph if it does not belong to the right category of graphs. With the Bubble Tree layout, you can not display a grid. If it is not valid, a pop-up message will displayed explaining why it is not ok.