6465666768697071727374
for (NodeModel node : nodes) { graph.addNode(node); } for (EdgeModel edge : edges) { graph.addEdge(edge); } return graph.getGraphML(doc); }