Skip to main content

Module export

Module export 

Source
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§

gexf
GEXF 1.3 graph export.
graphml
GraphML graph export.

Enums§

ExportError
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 Value to a GEXF attribute type string.
value_to_graphml_type
Maps a grafeo Value to a GraphML attribute type string.
value_to_xml_string
Converts a Value to an XML-safe string representation.