Commit 7d1e2b65 authored by Adriaan de Groot's avatar Adriaan de Groot 💬
Browse files

gml files: remove commented-out code

The commented-out code -- loops that do something with the dynamic
properties -- was moved into processEdge() and processNode() long ago.
parent 059122f2
Pipeline #22449 passed with stage
in 5 minutes and 28 seconds
......@@ -99,20 +99,13 @@ void GmlFileFormat::writeFile(GraphDocumentPtr document)
for(const NodePtr &n : document->nodes()) {
out << QString("node [\n id \"%1\" \n").arg(n->dynamicProperty("name").toString());
// foreach (QByteArray p, n->dynamicPropertyNames()){
// out << p << " " << n->property(p).toString() << "\n";
// }
out << processNode(n);
out << "]\n";
}
for (auto const &edge : document->edges()) {
out << "edge [\n";
// foreach (QByteArray p, e->dynamicPropertyNames()){
// out << p << " " << e->property(p).toString() << "\n";
// }
out << processEdge(edge);
out << "]\n";
}
out << "]\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment