Expand description
Graph export serializers (GEXF, GraphML).
Provides streaming serializers that write graph data directly to a std::io::Write sink.
No external XML library is needed: both formats are simple enough for write!() macros
with proper escaping.
Modules§
Enums§
- Export
Error - Errors from graph export operations.
Functions§
- escape_
xml - Escapes XML special characters in text content and attribute values.
- value_
to_ gexf_ type - Maps a grafeo
Valueto a GEXF attribute type string. - value_
to_ graphml_ type - Maps a grafeo
Valueto a GraphML attribute type string. - value_
to_ xml_ string - Converts a
Valueto an XML-safe string representation.