pub fn write_graphml_string(graph: &Graph) -> String
Generate GraphML XML string for an undirected graph with full NX compatibility.