public void test() throws IOException {
Graph graph = new MultiGraph("test GML");
FileSinkGML out1 = new FileSinkGML();
FileSinkDynamicGML out2 = new FileSinkDynamicGML();
out1.begin("TestSinkGML.gml");
out2.begin("TestSinkGML.dgml");
graph.addSink(out1);
graph.addSink(out2);