pub fn write_graphml<W: Write>(
writer: &mut W,
nodes: &[Node],
edges: &[Edge],
) -> Result<(), ExportError>Expand description
Writes a complete GraphML document to the given writer.
Node labels are stored as a _labels data key, edge types as _type.
Node IDs are prefixed with n, edge IDs with e (GraphML convention).
ยงErrors
Returns ExportError::Io if writing fails.