use of org.jgrapht.ext.GmlExporter in project opennars by opennars.
the class NARGraph method toGML.
public void toGML(Writer writer) {
GmlExporter gme = new GmlExporter(new IntegerNameProvider(), new StringNameProvider(), new IntegerEdgeNameProvider(), new StringEdgeNameProvider());
gme.setPrintLabels(GmlExporter.PRINT_EDGE_VERTEX_LABELS);
gme.export(writer, this);
}
Aggregations