[jgrapht-users] GraphMLExporter
Brought to you by:
barak_naveh,
perfecthash
From: Mansour A. <man...@gm...> - 2016-06-16 14:55:38
|
Hi, I am trying to save a graph with custom nodes, but the export function doesn't save the attributes of the graph nodes (it just saves an id for each node). public class GraphNode { String name; String label; String type; } GraphMLExporter<GraphNode, DefaultEdge> exporter = new GraphMLExporter<GraphNode, DefaultEdge>(); w = new FileWriter(file); exporter.export(w, this.g); Would you please help me how can I save all of the attributes of nodes? Thanks |