diff --git a/src/xmllang/graphml.cpp b/src/xmllang/graphml.cpp
index a734be72dc0..a527a5790c8 100644
--- a/src/xmllang/graphml.cpp
+++ b/src/xmllang/graphml.cpp
@@ -305,7 +305,7 @@ bool write_graphml(const graphmlt &src, std::ostream &os)
key.new_element("default").data="false";
}
- //
// false
//
@@ -313,7 +313,7 @@ bool write_graphml(const graphmlt &src, std::ostream &os)
xmlt &key = graphml.new_element("key");
key.set_attribute("attr.name", "cyclehead");
key.set_attribute("attr.type", "boolean");
- key.set_attribute("for", "edge");
+ key.set_attribute("for", "node");
key.set_attribute("id", "cyclehead");
key.new_element("default").data = "false";
@@ -402,6 +402,16 @@ bool write_graphml(const graphmlt &src, std::ostream &os)
key.set_attribute("id", "producer");
}
+ //
+ {
+ xmlt &key = graphml.new_element("key");
+ key.set_attribute("attr.name", "creationtime");
+ key.set_attribute("attr.type", "string");
+ key.set_attribute("for", "graph");
+ key.set_attribute("id", "creationtime");
+ }
+
//
{
xmlt &key=graphml.new_element("key");