checkGraphMLSchema(es);
XMLWriter xml = new XMLWriter(new PrintWriter(os));
xml.begin(Tokens.GRAPHML_HEADER, 2);
xml.comment("prefuse GraphML Writer | "
+ new Date(System.currentTimeMillis()));
// print the graph schema
printSchema(xml, Tokens.NODE, ns, null);
printSchema(xml, Tokens.EDGE, es, new String[] {