THIS CLASS IS REALLY NOT APPROPRIATE FOR GENERAL USE. Indeed the GML format is not dynamic and it is very difficult to export the correct attributes of nodes if the declaration of the attribute is far from the declaration of the node. The only way would be to store the graph in a buffer and output it at once when the file is closed.
Therefore this class outputs attributes of nodes and edges only if their addition directly follows the corresponding node or edge.
|
|