
614 CHAPTER 19. PIGALE
Figure 19.20 Pigale editing window.
We have partially implemented the GRAPHML file format (cf. [BEH
+
02] and the web
site http://graphml.graphdrawing.org/), which is now the only way to add text labels
to the vertices.
We use a very simple ASCII file structure to store graphs. For example, the following
file defines a graph, called Triangle, with three vertices, labeled 10, 20, 30, and three edges.
The first 0 on the last line indicates the end of the list of edges. The second zero indicates
the end of the graph data.
PIG:0 Triangle
10 20
20 30
30 10
0 0
19.6.3 Macro Recording
One can record any number of functions from the menus into macros, ...